1 #include <stdio.h> 2 #include <stdarg.h> 3 #include <wchar.h> 4 #include "libc.h" 5 6 int wscanf(const wchar_t *restrict fmt, ...) 7 { 8 int ret; 9 va_list ap; 10 va_start(ap, fmt); 11 ret = vwscanf(fmt, ap); 12 va_end(ap); 13 return ret; 14 } 15 16 weak_alias(wscanf,__isoc99_wscanf); 17