Your Browser is not longer supported
Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...
{{viewport.spaceProperty.prod}}
strtoimax - convert string to integer (intmax_t)
&pagelevel(4)&pagelevel
Syntax | #include <inttypes.h> intmax_t strtoimax(const char *s, char ** zg, int base); |
Definition | #include <inttypes.h> intmax_t strtoimax(const char *s, char ** zg, int base); i strtoimax() converts the EBCDIC string to which s points into an integer of type intmax_t .
intmax_t is a type predefined in the header stdint.h :
typedef long long intmax_t;
Further description see strtoll . |
Return val. | Integer value of type intmax_t |
|
| for strings that have a structure as described for strtoll and which represent a numeric value. |
| 0 | for strings that do not conform to the syntax described for strtoll . The conversion is not executed. If the value of base is not supported, errno is set to EINVAL . |
| INTMAX_MAX or INTMAX_MIN |
|
| if the result overflows, depending on the sign. errno is set to ERANGE . |
See also | strtol, strtoll, stroul, stroull, stroumax. |