OS_TPrintf

Syntax

#include <nitro/os.h>

void OS_TPrintf( const char *fmt, ... );

Arguments

fmt Output format string.
... Variable number of arguments

Return Values

None.

Description

Outputs a string. Internally, this function calls OS_VSNPrintf(). Therefore the useable string format (string output format) is more restricted than it would be with OS_Printf(). However, you can save on the code and stack overhead by using this function instead of OS_Printf().

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

The maximum string length that can be displayed is 255 characters. If a string with 256 or more characters is specified, all characters from the 256th character are ignored.

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

See Also

OS_PutString
OS_Printf

Revision History

2009/10/02 Explained the maximum displayable string length.
2004/11/25 Added a description of the weak symbol.
2004/09/10 Initial version.


CONFIDENTIAL