libwchar2 0.0.10
wcstoimax manual

wcstoimax() - Convert wide string to a intmax_t integer

The wcstoimax() function are just like wcstol manual, except that they return a value of type intmax_t, respectively.

Return Value

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