libwchar2 0.0.10
wcstoull manual

wcstoull() - Convert wide string to a unsigned long long integer

The wcstoull() function converts the initial part of the in wide string to a unsigned long long integer value according to the given base, which must be between 2 and 36 inclusive, or be the special value 0.

Return Value

The wcstoull() function returns the result of the conversion, unless the value would underflow or overflow.
If an underflow occurs, wcstoull() returns ULLONG_MIN.
If an overflow occurs, strtol() returns ULLONG_MAX.
In both cases, errno is set to ERANGE.

Notes

Since 0 can legitimately be returned on both success and failure, the calling program not needed set errno to 0 before the call.

See example

See also
https://github.com/ClnViewer/LibWchar2/blob/master/test/test_wcstonum.c

LibWchar2 information
Version
libwchar2 0.0.10
Date
Wed Aug 22 2018
Author
(c) PS 2018-2018
Manual author and license