/* VARARGS2 */ int __fwscanf (FILE *stream, const wchar_t *format, ...) { va_list arg; int done; va_start (arg, format); done = __vfwscanf (stream, format, arg); va_end (arg); return done; }
static const mbstate_t initial_mbs; /* * MT-safe version. */ int vfwscanf_l(FILE * __restrict fp, locale_t locale, const wchar_t * __restrict fmt, va_list ap) { int ret; FIX_LOCALE(locale); FLOCKFILE(fp); ORIENT(fp, 1); ret = __vfwscanf(fp, locale, fmt, ap); FUNLOCKFILE(fp); return (ret); } int vfwscanf(FILE * __restrict fp, const wchar_t * __restrict fmt, va_list ap) { return vfwscanf_l(fp, __get_locale(), fmt, ap); } /* * Non-MT-safe version. */ int __vfwscanf(FILE * __restrict fp, locale_t locale, const wchar_t * __restrict fmt, va_list ap)
(cclcompl ? (wmemchr(ccls, (_c), ccle - ccls) == NULL) : \ (wmemchr(ccls, (_c), ccle - ccls) != NULL)) static const mbstate_t initial_mbs; /* * MT-safe version. */ int vfwscanf(FILE * __restrict fp, const wchar_t * __restrict fmt, va_list ap) { int ret; FLOCKFILE(fp); ORIENT(fp, 1); ret = __vfwscanf(fp, fmt, ap); FUNLOCKFILE(fp); return (ret); } /* * Non-MT-safe version. */ int __vfwscanf(FILE * __restrict fp, const wchar_t * __restrict fmt, va_list ap) { wint_t c; /* character from format, or conversion */ size_t width; /* field width, or 0 */ wchar_t *p; /* points into all kinds of strings */ int n; /* handy integer */ int flags; /* flags as defined above */