1 #include "stdio_impl.h"
3 static size_t do_read(FILE *f, unsigned char *buf, size_t len)
5 return __string_read(f, buf, len);
8 int vsscanf(const char *restrict s, const char *restrict fmt, va_list ap)
11 .buf = (void *)s, .cookie = (void *)s,
12 .read = do_read, .lock = -1
14 return vfscanf(&f, fmt, ap);