libwchar2 0.0.10
wcstoumax manual

wcstoumax() - Convert wide string to a uintmax_t integer

The wcstoumax() function are just like wcstoul manual, except that they return a value of type uintmax_t, respectively.

Return Value

The wcstoumax() function returns on success, the converted value is returned.
If nothing was found to convert, zero is returned.
On overflow or underflow UINTMAX_MAX or UINTMAX_MIN is returned, and 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