2011-07-13 01:20:40 +02:00
|
|
|
#ifndef _ITOA_
|
|
|
|
#define _ITOA_
|
|
|
|
|
2011-09-16 23:07:44 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"{
|
|
|
|
#endif // __cplusplus
|
|
|
|
|
|
|
|
#if 0
|
|
|
|
|
2011-07-13 01:20:40 +02:00
|
|
|
extern void itoa( int n, char s[] ) ;
|
|
|
|
|
2011-09-16 23:07:44 +02:00
|
|
|
#else
|
|
|
|
|
|
|
|
extern char* itoa( int value, char *string, int radix ) ;
|
|
|
|
extern char* ltoa( long value, char *string, int radix ) ;
|
|
|
|
extern char* utoa( unsigned long value, char *string, int radix ) ;
|
|
|
|
extern char* ultoa( unsigned long value, char *string, int radix ) ;
|
|
|
|
#endif /* 0 */
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} // extern "C"
|
|
|
|
#endif // __cplusplus
|
|
|
|
|
2011-07-13 01:20:40 +02:00
|
|
|
#endif // _ITOA_
|