Mail Archives: djgpp-workers/2002/11/02/06:44:30
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 -