1 .\" Copyright (c) 2003 Andries Brouwer (aeb@cwi.nl)
3 .\" SPDX-License-Identifier: GPL-2.0-or-later
5 .TH STRTOIMAX 3 2021-03-22 "" "Linux Programmer's Manual"
7 strtoimax, strtoumax \- convert string to integer
10 .RI ( libc ", " \-lc )
13 .B #include <inttypes.h>
15 .BI "intmax_t strtoimax(const char *restrict " nptr ", char **restrict " endptr ,
17 .BI "uintmax_t strtoumax(const char *restrict " nptr ", char **restrict " endptr ,
21 These functions are just like
25 except that they return a value of type
31 On success, the converted value is returned.
32 If nothing was found to convert, zero is returned.
33 On overflow or underflow
44 For an explanation of the terms used in this section, see
52 Interface Attribute Value
56 T} Thread safety MT-Safe locale
62 POSIX.1-2001, POSIX.1-2008, C99.