delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/03/00:15:45

Date: Fri, 3 May 1996 13:45:26 +1000
From: root <root AT linuxbox DOT nse DOT com DOT au>
Message-Id: <199605030345.NAA12799@linuxbox.nse.com.au>
To: Erik Max Francis <max AT alcyone DOT com>
CC: djgpp AT delorie DOT com
Subject: RE: atoi <> itoa (?)
In-Reply-To: <20845660@toto.iv>
Reply-To: naderr AT topaz DOT cqu DOT edu DOT au

Erik Max Francis writes:
 > Marcelo Cantos wrote:
 > 
 > > Hasn't it dawned on anyone in this discussion that itoa( ) *IS* ANSI C???
 > 
 > No, because it isn't.  itoa is never mentioned in ANSI/ISO 9899-1990.  It's a
 > commonly-provided function, and many compilers (such as old Turbo C) lead you
 > to believe that it's ANSI since they include it in the standard libraries, but
 > it's not.
 > 

I don't know about a old Turbo C, but BorlandC 3.0 for which I have
the manual clearly states that it is _not_ ANSI.


Cheers,

		Rob

- Raw text -


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