itoa()

convert integer to string 

Function


SYNOPSIS

#include <stdlib.h>

char *itoa(int value, char *string, int radix);


DESCRIPTION

The itoa() function constructs a string representation of an integer.


PARAMETERS

value 

Is the integer to be converted to string representation.

string 

Points to the buffer that is to hold resulting string. The resulting string may be as long as seventeen bytes.

radix 

Is the base of the number; must be in the range 2 - 36.


RETURN VALUES

The function itoa() always returns the value string. There is no error return.


CONFORMANCE

PTC MKS Toolkit UNIX APIs extension.


MULTITHREAD SAFETY LEVEL

MT-Safe.


PORTING ISSUES

None.


AVAILABILITY

PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
atoi(), sprintf(), strtol()


PTC MKS Toolkit 10.3 Documentation Build 39.