Function stdio_itoad
Defined in File stdio.h
Function Documentation
-
char *stdio_itoad(int32_t n, char *s)
Convert an integer into a decimal string.
Convert an integer into a decimal string representing the value of the original integer. Supports negative numbers. For uniformity, a ‘+’ sign is prepended to the string of all converted positive numbers. Only supports 32-bit integers.
- Parameters:
n – The number to convert
s – The string to fill.
- Returns:
The converted string.