Deutsch   English   Français   Italiano  
<20240622210438.0000018f@yahoo.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: Michael S <already5chosen@yahoo.com>
Newsgroups: comp.lang.c
Subject: Re: The difference between strtol() and strtoul() ?
Date: Sat, 22 Jun 2024 21:04:38 +0300
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <20240622210438.0000018f@yahoo.com>
References: <v51d1l$2fklr$1@news.xmission.com>
	<v540t9$2gsdu$1@news.xmission.com>
	<20240621182839.00000dc4@yahoo.com>
	<87tthmqlej.fsf@bsb.me.uk>
	<874j9mw5zo.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 22 Jun 2024 20:04:46 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="7a3173de95d34aa93b263d5871a07199";
	logging-data="4065153"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19r1H4/eWCGOK0m90TJb3D+tjoIIa31c9Q="
Cancel-Lock: sha1:XKcBuPwrLYlV0bqk9fqIfZtKQ7c=
X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32)
Bytes: 1845

On Fri, 21 Jun 2024 10:38:51 -0700
Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote:

> 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.
> 

May be, that is the reason. But frankly, I expected that
cppreference.com will do better. As a minimum, strtoimax should have
ben listed in "See also" section on this page:
https://en.cppreference.com/w/c/string/byte/strtol