maxtoa.h File Reference


Detailed Description

Convert integers to ASCII strings.


Functions

void xtoa (unsigned long val, char *buf, unsigned radix, int negative)
char * itoa (int val, char *buf, int radix)
char * ltoa (long val, char *buf, int radix)
char * ultoa (unsigned long val, char *buf, int radix)


Function Documentation

void xtoa unsigned long  val,
char *  buf,
unsigned  radix,
int  negative
 

Convert integer to ascii string.

Parameters:
val The integer value to convert.
buf The output buffer for the ascii representation.
radix The output radix.
negative The output sign.

char* itoa int  val,
char *  buf,
int  radix
 

Convert integer to ascii string.

Parameters:
val The integer value to convert.
buf The output buffer for the ascii representation.
radix The output radix.

char* ltoa long  val,
char *  buf,
int  radix
 

Convert long to ascii string.

Parameters:
val The integer value to convert.
buf The output buffer for the ascii representation.
radix The output radix.

char* ultoa unsigned long  val,
char *  buf,
int  radix
 

Convert unsigned long to ascii string.

Parameters:
val The integer value to convert.
buf The output buffer for the ascii representation.
radix The output radix.


Generated on Sat Feb 13 00:15:38 2010 for MoSync 2 beta 1 by  doxygen 1.4.6-NO