Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

wcstoimax - convert wide character string to integer of type intmax_t

&pagelevel(4)&pagelevel

Definition   

#include <inttypes.h>

intmax_t wcstoimax(const wchar_t * nptr, wchar_t ** endptr, int base);

wcstoimax() converts the initial portion of the wide character string pointed to by nptr to intmax_t representation.

intmax_t is a type predefined in stdint.h:
typedef long long intmax_t;

For more descrition see wcstoll.

Return val.

converted value



if successful.


0

if no conversion could be performed. errno is set to EINVAL to indicate an error .


INTMAX_MAX, INTMAX_MIN depending on the sign of the value,



if the correct value is outside the range of representable values.
errno is set to ERANGE indicate an error .

Notes

See wcstoll.

See also

strtol, strtoll, strtoul, strtoull, wcstol, wcstoll, wcstoul, wcstoull, wcstoumax.