NAME
wscanf_l
,
fwscanf_l
, swscanf_l
,
vwscanf_l
, vswscanf_l
,
vfwscanf_l
—
wide character input format
conversion
LIBRARY
library “libc”
SYNOPSIS
#include <stdio.h>
#include <wchar.h>
#include <xlocale.h>
int
wscanf_l
(locale_t
loc, const wchar_t *
restrict format,
...);
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, ...);
#include
<stdarg.h>
int
vwscanf_l
(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
vfwscanf_l
(FILE
* restrict stream,
locale_t loc,
const wchar_t * restrict
format, va_list
ap);
DESCRIPTION
The above functions scan input according to a specified format in the locale loc. They behave in the same way as the versions without the _l suffix, but use the specified locale rather than the global or per-thread locale. See the specific manual pages for more information.SEE ALSO
STANDARDS
These functions do not conform to any specific standard so they should be considered as non-portable local extensions.