3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS kernel
5 * FILE: lib/ntdll/stdlib/wtoi64.c
6 * PURPOSE: converts a unicode string to 64 bit integer
13 _wtoi64 (const wchar_t *nptr)
19 while (iswctype((int)*nptr, _SPACE))
24 if (c == L'-' || c == L'+')
29 while (iswctype(c, _DIGIT))
31 value = 10 * value + (c - L'0');