[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [rtl] itoa(s,ct) command




Hi,

why not use the good old sprintf() to format an integer in ascii form?

BTW: to do the reverse, use simple_strtoul() in lib/vsprintf.c

TF


> 
> Dear All,
> 
> I have some one problem to convert one integer to string on C under
> Linux. On Borland C, we can use itoa() command.
> 
> If any one have the such header file or patch, would you like to send me
> the copy?
> 
> Regards,
> 
> 
> 
> <adolf@ratelindo.co.id>
> OMC Switching Div
> Wisma Bakrie Lt. 5,
> Jl. HR. Rasuna Said Kav B1
> Jakarta
> Telp. 9101112 ext. 411
> --- [rtl] ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/
> 

--- [rtl] ---
For more information on Real-Time Linux see:
http://www.rtlinux.org/