1#include "libc.h" 2#include <stdarg.h> 3#include <stdio.h> 4 5int sscanf(const char* restrict s, const char* restrict fmt, ...) { 6 int ret; 7 va_list ap; 8 va_start(ap, fmt); 9 ret = vsscanf(s, fmt, ap); 10 va_end(ap); 11 return ret; 12} 13