Deutsch English Français Italiano |
<874j9mw5zo.fsf@nosuchdomain.example.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson <Keith.S.Thompson+u@gmail.com> Newsgroups: comp.lang.c Subject: Re: The difference between strtol() and strtoul() ? Date: Fri, 21 Jun 2024 10:38:51 -0700 Organization: None to speak of Lines: 14 Message-ID: <874j9mw5zo.fsf@nosuchdomain.example.com> References: <v51d1l$2fklr$1@news.xmission.com> <v540t9$2gsdu$1@news.xmission.com> <20240621182839.00000dc4@yahoo.com> <87tthmqlej.fsf@bsb.me.uk> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Fri, 21 Jun 2024 19:38:51 +0200 (CEST) Injection-Info: dont-email.me; posting-host="27ab6fe7c7a579af676e0838983f63cb"; logging-data="3440893"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ek4rYa/nfmMXIo1/enDVk" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cancel-Lock: sha1:rXKgsSVPvAse9fO3vVORdJ6qUEU= sha1:SbyJ4Wd/vlYXiOOhRYBmEOMOBz4= Bytes: 1550 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.com void Void(void) { Void(); } /* The recursive call of the void */