Documentation Archive Developer
Search
ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

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



WPRINTF_L(3)             BSD Library Functions Manual             WPRINTF_L(3)

NAME
     wprintf_l, fwprintf_l, swprintf_l, vwprintf_l, vfwprintf_l, vswprintf_l
     -- formatted wide character output conversion

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     #include <stdio.h>
     #include <wchar.h>
     #include <xlocale.h>

     int
     fwprintf_l(FILE * restrict stream, locale_t loc,
         const wchar_t * restrict format, ...);

     int
     swprintf_l(wchar_t * restrict ws, size_t n, locale_t loc,
         const wchar_t * restrict format, ...);

     int
     wprintf_l(locale_t loc, const wchar_t * restrict format, ...);

     #include <stdarg.h>

     int
     vfwprintf_l(FILE * restrict stream, locale_t loc,
         const wchar_t * restrict, va_list ap);

     int
     vswprintf_l(wchar_t * restrict ws, size_t n, locale_t loc,
         const wchar_t *restrict format, va_list ap);

     int
     vwprintf_l(locale_t loc, const wchar_t * restrict format, va_list ap);

DESCRIPTION
     The wprintf_l(), fwprintf_l(), swprintf_l(), vwprintf_l(), vfwprintf_l(),
     and vswprintf_l() functions are extended locale versions of the
     wprintf(), fwprintf(), swprintf(), vwprintf(), vfwprintf(), and
     vswprintf() functions, respectively.  Refer to their manual pages for
     details.  Also, see xlocale(3) for more information about extended
     locales.

SEE ALSO
     wprintf(3), xlocale(3)

BSD                             March 11, 2005                             BSD