# OS_SPrintf

## C Specification

      #include <nitro/os.h>

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

## 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.

This function is used for debugging. It will not be generated in the final ROM version (`FINALROM`).

## Arguments

`dst` | Storage destination buffer for output character string
`fmt` | Output format character string (format character string)
`...` | 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.

## See Also

`OS_VSPrintf`, `OS_SNPrintf`, `OS_VSNPrintf`

## Revision History

11/25/2004 Added description of weak symbols.
06/15/2004 Changed "termination NUL" to "termination character ( `\0` )".
03/26/2004 Initial version