21 lines
389 B
C
21 lines
389 B
C
|
/* This file defines one of the deprecated scanf variants. */
|
||
|
#include <features.h>
|
||
|
#undef __GLIBC_USE_DEPRECATED_SCANF
|
||
|
#define __GLIBC_USE_DEPRECATED_SCANF 1
|
||
|
|
||
|
#include "nldbl-compat.h"
|
||
|
|
||
|
int
|
||
|
attribute_hidden
|
||
|
swscanf (const wchar_t *s, const wchar_t *fmt, ...)
|
||
|
{
|
||
|
va_list arg;
|
||
|
int done;
|
||
|
|
||
|
va_start (arg, fmt);
|
||
|
done = __nldbl_vswscanf (s, fmt, arg);
|
||
|
va_end (arg);
|
||
|
|
||
|
return done;
|
||
|
}
|