OS_TFPanic

Syntax

#include <nitro/os.h>

void OS_TFPanic( 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 OS_TPanic() that allows the output window to be specified. All behavior other than designating the output destination is based on the specification for OS_TPanic(), so be sure to refer to that page.

console 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 will output to the error output destination that was specified using OS_SetPrintOutput().

This function is used for debugging. It does not perform any output in FINALROM versions of the library.

Internal Operation

OS_TFPanic() is actually a #define of OSi_TFPanic(). OSi_TFPanic() is compiled with weak symbols. Therefore you can overwrite them with your own function definitions.

See Also

OS_TPanic

Revision History

2008/01/12 Initial version.


CONFIDENTIAL