From: "Stefan Viljoen" Newsgroups: comp.os.msdos.djgpp Subject: Why does DJGPP support itoa() but Linux does not? Date: Thu, 10 May 2001 19:23:01 +0200 Organization: The South African Internet Exchange Lines: 28 Message-ID: <9deict$4jk$2@ctb-nnrp2.saix.net> NNTP-Posting-Host: pc53-01-p105.nt.saix.net X-Trace: ctb-nnrp2.saix.net 989514973 4724 155.239.176.105 (10 May 2001 17:16:13 GMT) X-Complaints-To: abuse AT saix DOT net NNTP-Posting-Date: 10 May 2001 17:16:13 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi! I am using Redhat 6.0 - there seems to be not itoa() in Linux? I am saying this as DJGPP (also based on GCC) supports the itoa() func in stdlib? How do I convert an integer to a string in a Linux C program? I realise this is not DJGPP related but I have used itoa() successfully in DJGPP programs, but using it in a Linux program just brings up the "implicit declaration of function" error even when including stdlib.h i. e. it does not exist in the linux stdlib? I've got a big problem with this, 'cause my DJGPP compiled code won't translate to Linux as it seems to miss some functions that are in the DJGPP stdlib.h? Any help appreciated! Regards, Stefan Viljoen F/EMS Dispatcher Potchefstroom F/EMS South Africa http://home.intekom.com/rylan/