All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages

Detailed Description

Standard formatting.

If you're looking for input/output functions, check out the Logging API.

Function Documentation

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.

Parameters
strThe string buffer to write the formatted string into
nThe maximum size of the buffer
fmtThe C formatting string
Returns
The number of bytes written