OS_TFPrintf

Syntax

#include <nitro/os.h>

void OS_TFPrintf( int console, const char *fmt, ... );

Arguments

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

Return Values

None.

Description

This is a version of the OS_TPrintf function that allows the output window to be specified. All behavior other than designating the output destination is based on the specification for the OS_TPrintf function, so see that page.

The console argument is used to specify the output destination and can take values from 0 to 3, indicating the window number. Specify OS_PRINT_OUTPUT_NONE to output nothing. Specifying OS_PRINT_OUTPUT_CURRENT uses the standard output destination defined by OS_SetPrintOutput.

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

This function is used for debugging. It does not generate any output during a FINALROM build or when linked against FINALROM libraries.

See Also

OS_TPrintf

Revision History

2009/04/30 Added description of weak symbols.
2008/01/12 Initial version.


CONFIDENTIAL