iOS Reference Library Apple Developer
Search

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



WSCANF_L(3)              BSD Library Functions Manual              WSCANF_L(3)

NAME
     fwscanf_l, swscanf_l, vfwscanf_l, vswscanf_l, vwscanf_l, wscanf_l -- wide
     character input format conversion

LIBRARY
     Standard C Library (libc, -lc)

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

DESCRIPTION
     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.

SEE ALSO
     wscanf(3), xlocale(3)

BSD                             March 11, 2005                             BSD
Did this document help you? Yes It's good, but... Not helpful...