OS_SNPrintf

Syntax

#include <nitro/os.h>

int OS_SNPrintf( char *dst, size_t len, const char *fmt, ...

Arguments

Identical to the STD_TSNPrintf function.

Return Values

Identical to the STD_TSNPrintf function.

Description

This function has been replaced by the STD_TSNPrintf function. This function simply calls the STD_TSNPrintf function internally and returns its results.

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_TSNPrintf

Revision History

2009/03/27 Added a note on user-defined functions.
2008/09/06 Revised the description of this function being replaced by a STD library function.
2004/11/25 Added an explanation concerning weak symbols.
2004/06/15 Changed "terminating NULL" to "terminating character '\0'."
2004/03/26 Initial version.


CONFIDENTIAL