OS_SPrintf

C Specification

#include <nitro/os.h>

int OS_SPrintf( char *dst, const char *fmt, ...

Arguments

dst Storage destination buffer for output character string
fmt Character string output format (character string format)
... Variable number of arguments

Return Values

Always returns the number of characters if the format character string was output properly. The termination character ( \0 ) is not included in this number.

Description

This function returns the simplified version of the format character string.

This function is equivalent to OS_VSPrintf except that the argument format differs.

This function is compiled with weak symbols. Therefore you can overwrite them with your own function definitions.

See Also

OS_VSPrintf, OS_SNPrintf, OS_VSNPrintf

Revision History

04/08/2005 Deleted erroneous note saying that it will not be generated in the final ROM version (FINALMROM) library.
11/25/2004 Added description of weak symbols.
06/15/2004 Changed "termination NUL" to "termination character ( \0 )".
03/26/2004 Initial version

CONFIDENTIAL