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



WCSTOL_L(3)              BSD Library Functions Manual              WCSTOL_L(3)

NAME
     wcstoimax_l, wcstol_l, wcstoll_l, wcstoul_l, wcstoull_l, wcstoumax_l --convert -convert
     convert a wide character string value to a long, unsigned long, long
     long, unsigned long long, intmax_t or uintmax_t integer

LIBRARY
     Standard C Library (libc, -lc)

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

     long
     wcstol_l(const wchar_t * restrict nptr, wchar_t ** restrict endptr,
         int base, locale_t loc);

     long long
     wcstoll_l(const wchar_t * restrict nptr, wchar_t ** restrict endptr,
         int base, locale_t loc);

     unsigned long
     wcstoul_l(const wchar_t * restrict nptr, wchar_t ** restrict endptr,
         int base, locale_t loc);

     unsigned long long
     wcstoull_l(const wchar_t * restrict nptr, wchar_t ** restrict endptr,
         int base, locale_t loc);

     #include <inttypes.h>
     #include <xlocale.h>

     intmax_t
     wcstoimax_l(const wchar_t * restrict nptr, wchar_t ** restrict endptr,
         int base, locale_t loc);

     uintmax_t
     wcstoumax_l(const wchar_t * restrict nptr, wchar_t ** restrict endptr,
         int base, locale_t loc);

DESCRIPTION
     The wcstol_l(), wcstoul_l(), wcstoll_l(), wcstoull_l(), wcstoimax_l() and
     wcstoumax_l() functions are extended locale versions of the wcstol(),
     wcstoul(), wcstoll(), wcstoull(), wcstoimax() and wcstoumax() functions,
     respectively.  Refer to their manual pages for details.  Also, see
     xlocale(3) for more information about extended locales.

SEE ALSO
     wcstol(3), xlocale(3)

BSD                             March 11, 2005                             BSD