[Wolves] C itoa type function question

sparkes sparkes at westmids.biz
Wed Jan 19 18:52:09 GMT 2005


Another odd question.

Does anyone know how I can convert an int (or long) to a char* to a 
string giving an ascii representation of the number /without/ using 
stdlib or indeed any libs?  I can't find how they are done in the kernel 
and the GNU libs are such a mess of defines that finding something so 
simple is getting pretty difficult

I am sure I used to do this with a macro but for the life of me can't 
remember how to do just cool tricks anymore ;-)

either C or x86 asm will me do thanks in advance.

sparkes



More information about the Wolves mailing list