STD_TSNPrintf

Syntax

#include <nitro/std.h>

int STD_TSNPrintf( char *dst, size_t len, const char *fmt, ... );

Arguments

dst Storage destination buffer for the output string.
len Storage destination buffer size for the output string.
fmt Output format string.
... Variable number of arguments.

Return Values

Always returns the number of characters of a correctly formatted output string. The termination character (\0) is not included in this number.

Description

This function simplifies the format string.

With the exception of a difference in argument format, this function is equivalent to the STD_TVSNPrintf format.

This function is compiled with weak symbols. Therefore, you can overwrite them with your own function definitions.
However, this function may be used by TWL-SDK functions, high-level libraries, middleware, and other sources, so be careful not to change its behavior when you overwrite it.

See Also

STD_TSPrintf
STD_TVSPrintf
STD_TVSNPrintf

Revision History

2009/03/27 Added a note related to user-defined functions.
2007/04/20 Initial version.


CONFIDENTIAL