From: 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 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII 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 Precedence: bulk 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