#include <nitro/os.h>
void OS_FExit( int console, int status );
console | Output window. |
status | Exit status |
None.
Displays a termination message, puts the CPU in HALT status, and loops.
The only difference between this function and OS_Exit()
is that this function allows the output destination to be specified. For a description of the rest, refer to the function reference for OS_Exit()
.
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()
.
2008/05/23 Initial version.
CONFIDENTIAL