Sujet : Re: The difference between strtol() and strtoul() ?
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.lang.cDate : 21. Jun 2024, 18:38:51
Autres entêtes
Organisation : None to speak of
Message-ID : <874j9mw5zo.fsf@nosuchdomain.example.com>
References : 1 2 3 4
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Ben Bacarisse <
ben@bsb.me.uk> writes:
Michael S <already5chosen@yahoo.com> writes:
[...]
Which are? uunfortunately, not part of C standard.
>
Not sure if that '?' is just a typo. Anyway, yes they are both part of
the C standard.
strto[u]l[l] are declared in <stdlib.h> strtoimax and strtoumax are
declared in <inttypes.h>, which can make them easy to miss.
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */