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 sscanf(const char * s,const char * fmt,...)10sscanf (const char *s, const char *fmt, ...) 11 { 12 va_list arg; 13 int done; 14 15 va_start (arg, fmt); 16 done = __nldbl_vsscanf (s, fmt, arg); 17 va_end (arg); 18 19 return done; 20 } 21 extern __typeof (sscanf) _IO_sscanf attribute_hidden; 22 strong_alias (sscanf, _IO_sscanf) 23