19 const wchar_t *
s = nptr;
23 int neg = 0, any, cutlim;
41 c ==
L'0' && (*
s ==
L'x' || *
s ==
L'X'))
68 cutlim = cutoff % (
unsigned long)
base;
70 for (acc = 0, any = 0;;
c = *
s++)
80 if (any < 0 || (
unsigned long)acc > cutoff || (acc == cutoff &&
c > cutlim))
96 *endptr = any ? (
wchar_t *)((
size_t)(
s - 1)) : (
wchar_t *)((
size_t)nptr);
int __cdecl iswctype(wint_t wc, wctype_t wctypeFlags)
long CDECL wcstol(const wchar_t *nptr, wchar_t **endptr, int base)