Converts an long integer value to a null-terminated character string.
#include <extras/extras_stdlib.h> char * ltoa(long int val, char *str, int radix);
val
The long integer value to convert.
str
A pointer to an array in which to store the converted value.
radix
The numeric base to convert the number to.
The radix is the base of the number in a range of 2 to 36. The function returns a pointer to the converted string, str.
This facility is not specified in the ISO/IEC standards. It is an EWL extension of the standard libraries.