(root)/
glibc-2.38/
sysdeps/
ieee754/
ldbl-opt/
nldbl-swscanf.c
       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
      10  swscanf (const wchar_t *s, const wchar_t *fmt, ...)
      11  {
      12    va_list arg;
      13    int done;
      14  
      15    va_start (arg, fmt);
      16    done = __nldbl_vswscanf (s, fmt, arg);
      17    va_end (arg);
      18  
      19    return done;
      20  }