porting itoa and utoa to clib.c