1570af302Sopenharmony_ci#include <stdio.h> 2570af302Sopenharmony_ci#include <stdarg.h> 3570af302Sopenharmony_ci#include <wchar.h> 4570af302Sopenharmony_ci 5570af302Sopenharmony_ciint wscanf(const wchar_t *restrict fmt, ...) 6570af302Sopenharmony_ci{ 7570af302Sopenharmony_ci int ret; 8570af302Sopenharmony_ci va_list ap; 9570af302Sopenharmony_ci va_start(ap, fmt); 10570af302Sopenharmony_ci ret = vwscanf(fmt, ap); 11570af302Sopenharmony_ci va_end(ap); 12570af302Sopenharmony_ci return ret; 13570af302Sopenharmony_ci} 14570af302Sopenharmony_ci 15570af302Sopenharmony_ciweak_alias(wscanf,__isoc99_wscanf); 16