OS_VSPrintf


C Specification

#include <nitro/os.h>

int OS_VSPrintf( 
            char        *dst , 
    const   char        *fmt, 
            va_list     vlist );
    

Description

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

This function is equivalent to OS_VSNPrintf() except storage destination buffer size is not a consideration.

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)
vlist Variable arguments list

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_SPrintf, 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