DragonFly On-Line Manual Pages
WSCANF_L(3) DragonFly Library Functions Manual WSCANF_L(3)
NAME
wscanf_l, fwscanf_l, swscanf_l, vwscanf_l, vswscanf_l, vfwscanf_l -- wide
character input format conversion
LIBRARY
Standard C Library (libc, -lc)
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
wscanf(3), xlocale(3)
STANDARDS
These functions do not conform to any specific standard so they should be
considered as non-portable local extensions.
DragonFly 3.7 November 17, 2013 DragonFly 3.7