wscanf_l(3)

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.

  1. 10.4–10.4.11
  2. 10.5–26.5

From Libc 1752.120.2 in macOS 26.5. Parsed by carta from the page's mdoc source.