wcstol_l3
Convert a wide character string value to a long, unsigned long, long long, unsigned long long, intmax_t or uintmax_t integer
Usage
#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);
Library
Standard C Library (libc, -lc)
Overview
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.
Releases
135 releases since Mac OS X 10.4; the text changed 1 time.