1 /* This file defines one of the deprecated scanf variants. */ 2 #include <features.h> 3 #undef __GLIBC_USE_DEPRECATED_SCANF 4 #define __GLIBC_USE_DEPRECATED_SCANF 1 5 6 #include "nldbl-compat.h" 7 8 int 9 attribute_hidden wscanf(const wchar_t * fmt,...)10wscanf (const wchar_t *fmt, ...) 11 { 12 va_list arg; 13 int done; 14 15 va_start (arg, fmt); 16 done = __nldbl_vfwscanf (stdin, fmt, arg); 17 va_end (arg); 18 19 return done; 20 } 21