2 .\" Copyright (c) 2003 Andries Brouwer (aeb@cwi.nl)
4 .\" SPDX-License-Identifier: GPL-2.0-or-later
6 .TH strtoimax 3 (date) "Linux man-pages (unreleased)"
8 strtoimax, strtoumax \- convert string to integer
11 .RI ( libc ", " \-lc )
14 .B #include <inttypes.h>
16 .BI "intmax_t strtoimax(const char *restrict " nptr ", char **restrict " endptr ,
18 .BI "uintmax_t strtoumax(const char *restrict " nptr ", char **restrict " endptr ,
22 These functions are just like
26 except that they return a value of type
32 On success, the converted value is returned.
33 If nothing was found to convert, zero is returned.
34 On overflow or underflow
45 For an explanation of the terms used in this section, see
53 Interface Attribute Value
57 T} Thread safety MT-Safe locale
63 POSIX.1-2001, POSIX.1-2008, C99.