delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/10/14:22:09

Date: Thu, 10 May 2001 13:32:28 -0400
Message-Id: <200105101732.NAA22879@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT envy DOT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
CC: Stefan_Viljoen AT excite DOT com
In-reply-to: <9deict$4jk$2@ctb-nnrp2.saix.net> (Stefan_Viljoen@excite.com)
Subject: Re: Why does DJGPP support itoa() but Linux does not?
References: <9deict$4jk$2 AT ctb-nnrp2 DOT saix DOT net>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> How do I convert an integer to a string in a Linux C program?

sprintf().

DJGPP has lots of functions that aren't standard.  You must learn to
avoid them (the docs say which is which) if you want your program to
be portable.

- Raw text -


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