www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/11/02/06:44:30

From: <ams AT ludd DOT luth DOT se>
Message-Id: <200211021142.gA2Bg5a28409@speedy.ludd.luth.se>
Subject: Re: atoll() query
In-Reply-To: <000901c27ff4$974bcbf0$0100a8c0@p4> "from Andrew Cottrell at Oct
30, 2002 08:12:49 pm"
To: djgpp-workers AT delorie DOT com
Date: Sat, 2 Nov 2002 12:42:05 +0100 (CET)
X-Mailer: ELM [version 2.4ME+ PL78 (25)]
MIME-Version: 1.0
X-MailScanner: Found to be clean
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

According to Andrew Cottrell:
[ Charset ISO-8859-1 unsupported, converting... ]
> This is from the djgpp newsgroup:-
> >Hi there
> >I just noticed, that 'long long atoll(const char *_s)' is not in the
> >stdlib sources nor in the docs, although it is prototyped in stdlib.h
> >Is this by intention, or am I missing something? Of course we can use
> >strtoll() but just curious.
> 
> I have checked the latest DJGPP CVS LIBC and I get the same result, so until
> it is implemented then you are not missing something.
> 
> I don't have a copy of the C99 standard to see if it should be in there. Can
> someone let me know if it should be and I will add it to the list of items
> to be done for the 2.04 release if it should be in there.

Yes. atoll() is there in C99 and the prototype is
long long int atoll(const char *nptr);


Right,

						MartinS

- Raw text -


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