Standard formatting.
If you're looking for input/output functions, check out the Logging API.
int snprintf | ( | char * | str, |
size_t | n, | ||
const * | fmt, | ||
... | |||
) |
Format a string into a buffer.
Refer the snprintf manpage for details about the C formatting string format. Please note that the format codes specifically for single and double precision floating point values (such as %e, %f, and %g) are not officially supported and may not display correctly.
str | The string buffer to write the formatted string into |
n | The maximum size of the buffer |
fmt | The C formatting string |