WSCANF_L(3) | Library Functions Manual | WSCANF_L(3) |
fwscanf_l
,
swscanf_l
, vfwscanf_l
,
vswscanf_l
, vwscanf_l
,
wscanf_l
— wide character
input format conversion
Standard C Library (libc, -lc)
#include <stdio.h>
#include <wchar.h>
#include <xlocale.h>
int
fwscanf_l
(FILE * restrict
stream, locale_t loc, const
wchar_t * restrict format, ...);
int
swscanf_l
(const wchar_t * restrict
str, locale_t loc, const wchar_t
* restrict format, ...);
int
wscanf_l
(locale_t loc,
const wchar_t * restrict format,
...);
#include
<stdarg.h>
#include <xlocale.h>
int
vfwscanf_l
(FILE * restrict
stream, locale_t loc, const
wchar_t * restrict format, va_list ap);
int
vswscanf_l
(const wchar_t * restrict
str, locale_t loc, const wchar_t
* restrict format, va_list ap);
int
vwscanf_l
(locale_t loc,
const wchar_t * restrict format,
va_list ap);
The
wscanf_l
(),
fwscanf_l
(),
swscanf_l
(),
vwscanf_l
(),
vswscanf_l
(),
and
vfwscanf_l
()
functions are extended locale versions of the
wscanf
(),
fwscanf
(),
swscanf
(),
vwscanf
(),
vswscanf
(),
and
vfwscanf
()
functions, respectively. Refer to their manual pages for details. Also, see
xlocale(3) for more information about
extended locales.
March 11, 2005 | macOS 15.0 |