powerpc64: Fix by using the configure value $libc_cv_cc_submachine [BZ #31629]
[glibc.git] / sysdeps / ieee754 / ldbl-opt / nldbl-scanf.c
blobc10da284f2ec1719a064edd0dc6fb6125eb032e7
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
6 #include "nldbl-compat.h"
8 int
9 attribute_hidden
10 scanf (const char *fmt, ...)
12 va_list arg;
13 int done;
15 va_start (arg, fmt);
16 done = __nldbl__IO_vfscanf (stdin, fmt, arg, NULL);
17 va_end (arg);
19 return done;