Your Browser is not longer supported
Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...
{{viewport.spaceProperty.prod}}
wcstoumax - convert wide character string to integer of type uintmax_t
&pagelevel(4)&pagelevel
Syntax | #include <inttypes.h> uintmax_t wcstoumax(const wchar_t * nptr, wchar_t ** endptr, int base); |
Description | wcstoumax() converts the initial portion of the wide character string pointed to by nptr to uintmax_t representation.
uintmax_t is a type predefined in stdint.h :
typedef unsigned long long uintmax_t;
For more descrition see wcstoull() . |
Return val. | converted value |
|
| if successful. |
| 0 | if no conversion could be performed. errno is set to indicate an error . |
| UINTMAX_MAX
|
|
| if the correct value is outside the range of representable values. errno is set to indicate an error . |
Errors | wcstoumax() will fail if:
|
| EINVAL
| The value of base is not supported. |
| ERANGE
| The correct value is outside the range of representable values. |
Notes | See wcstoull() . |
See also | strtoimax() , strtol() , strtoll() , strtoul() , strtoull() , strtoumax() , wcstoimax() , wcstol() , wcstoll() , wcstoul() , wcstoull () .
|