#include <nitro/os.h>
void OS_Printf( int console, const char *fmt, ... );
console | Output window. |
fmt | Output format string. |
... | Variable number of arguments. |
None.
This is a version of the OS_Printf
function that allows the output window to be specified. All behavior other than designating the output destination is based on the specification for OS_Printf
, so see that page.
The console argument specifies the output window and can take values from 0 to 3. 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.
2009/04/30 Added description of weak symbols.
2008/01/12 Initial version.
CONFIDENTIAL