wscanf_l3
Wide character input format conversion
Usage
#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);
Library
Standard C Library (libc, -lc)
Overview
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.
Releases
135 releases since Mac OS X 10.4; the text changed 1 time.