1 .\" Copyright (c) 2003 Andries Brouwer (aeb@cwi.nl)
3 .\" %%%LICENSE_START(GPLv2+_DOC_FULL)
4 .\" This is free documentation; you can redistribute it and/or
5 .\" modify it under the terms of the GNU General Public License as
6 .\" published by the Free Software Foundation; either version 2 of
7 .\" the License, or (at your option) any later version.
9 .\" The GNU General Public License's references to "object code"
10 .\" and "executables" are to be interpreted as the output of any
11 .\" document formatting or typesetting system, including
12 .\" intermediate and printed output.
14 .\" This manual is distributed in the hope that it will be useful,
15 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
16 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 .\" GNU General Public License for more details.
19 .\" You should have received a copy of the GNU General Public
20 .\" License along with this manual; if not, see
21 .\" <http://www.gnu.org/licenses/>.
24 .TH STRTOIMAX 3 2015-08-08 "" "Linux Programmer's Manual"
26 strtoimax, strtoumax \- convert string to integer
29 .B #include <inttypes.h>
31 .BI "intmax_t strtoimax(const char *" nptr ", char **" endptr ", int " base );
32 .BI "uintmax_t strtoumax(const char *" nptr ", char **" endptr ", int " base );
35 These functions are just like
39 except that they return a value of type
45 On success, the converted value is returned.
46 If nothing was found to convert, zero is returned.
47 On overflow or underflow
58 For an explanation of the terms used in this section, see
64 Interface Attribute Value
68 T} Thread safety MT-Safe locale
71 POSIX.1-2001, POSIX.1-2008, C99.