1STRTOIMAX(3)               Linux Programmer's Manual              STRTOIMAX(3)
2
3
4

NAME

6       strtoimax, strtoumax - convert string to integer
7

SYNOPSIS

9       #include <inttypes.h>
10
11       intmax_t strtoimax(const char *nptr, char **endptr, int base);
12       uintmax_t strtoumax(const char *nptr, char **endptr, int base);
13

DESCRIPTION

15       These  functions  are  just  like strtol(3) and strtoul(3), except that
16       they return a value of type intmax_t and uintmax_t, respectively.
17

RETURN VALUE

19       On success, the converted value is returned.  If nothing was  found  to
20       convert, zero is returned.  On overflow or underflow INTMAX_MAX or INT‐
21       MAX_MIN or UINTMAX_MAX is returned, and errno is set to ERANGE.
22

CONFORMING TO

24       C99, POSIX.1-2001.
25

SEE ALSO

27       imaxabs(3), imaxdiv(3), strtol(3), strtoul(3), wcstoimax(3)
28

COLOPHON

30       This page is part of release 3.53 of the Linux  man-pages  project.   A
31       description  of  the project, and information about reporting bugs, can
32       be found at http://www.kernel.org/doc/man-pages/.
33
34
35
36                                  2003-11-28                      STRTOIMAX(3)
Impressum