man.bsd.lv manual page server

Manual Page Search Parameters

WSCANF_L(3) Library Functions Manual WSCANF_L(3)

wscanf_l, fwscanf_l, swscanf_l, vwscanf_l, vswscanf_l, vfwscanf_lwide character input format conversion

library “libc”

#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);

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.

wscanf(3), xlocale(3)

These functions do not conform to any specific standard so they should be considered as non-portable local extensions.

November 17, 2013 DragonFly-5.6.1