Sujet : Re: The difference between strtol() and strtoul() ?
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.cDate : 22. Jun 2024, 07:43:45
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v55rr1$3ktut$1@dont-email.me>
References : 1 2 3 4 5
User-Agent : Pan/0.158 (Avdiivka; )
On Fri, 21 Jun 2024 10:38:51 -0700, Keith Thompson wrote:
strto[u]l[l] are declared in <stdlib.h> strtoimax and strtoumax are
declared in <inttypes.h>, which can make them easy to miss.
The first thing I do is check the man pages
<
https://manpages.debian.org/3/strtoimax.3.en.html>:
STANDARDS
POSIX.1-2001, POSIX.1-2008, C99.