delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/11/02/11:18:34

Message-ID: <3DC3E2E5.8AA59996@yahoo.com>
Date: Sat, 02 Nov 2002 09:36:21 -0500
From: CBFalconer <cbfalconer AT yahoo DOT com>
Organization: Ched Research
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: LIBC 2.04 new function atoll() implementation
References: <001401c28231$db1d3cd0$0100a8c0 AT p4> <6480-Sat02Nov2002110417+0200-eliz AT is DOT elta DOT co DOT il>
Reply-To: djgpp-workers AT delorie DOT com

Eli Zaretskii wrote:
> > From: "Andrew Cottrell" <acottrel AT ihug DOT com DOT au>
> > Date: Sat, 2 Nov 2002 16:36:21 +1100
> >
> > Below are atoll.c and atoll.txh, which together implement the missing
> > atoll() function. I copied the existing atol.c and atol.txh and made
> > hopefully the correct changes. Please let me know if I have made any
> > mistakes as I don't know if I got the compatability right.
> 
> It's fine with me.

A very minor thought - no parameter gets re-evaluated, so wouldn't
it be simpler to just define a macro?  The routine is still needed
in case joe-bob makes a pointer.

And why does it specify C89 compatibility, when there was no long
long in C89?

-- 
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net)
   Available for consulting/temporary embedded and systems.
   <http://cbfalconer.home.att.net>  USE worldnet address!


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019