WSCANF_L(3) Library Functions Manual WSCANF_L(3)

fwscanf_l, swscanf_l, vfwscanf_l, vswscanf_l, vwscanf_l, wscanf_lwide 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 (), (), (), (), (), and () functions are extended locale versions of the (), (), (), (), (), and () functions, respectively. Refer to their manual pages for details. Also, see xlocale(3) for more information about extended locales.

wscanf(3), xlocale(3)

March 11, 2005 macOS 15.0