OS_Exit

Syntax

#include <nitro/os.h>

void OS_Exit( int status );

Arguments

status Exit status

Return Values

None.

Description

Displays the reason for termination, puts the CPU in HALT status, and loops.

There is no return from this function. The OS_Terminate function is called internally.)

The status given in status will also appear when he termination message is displayed.

If this function is called when using the loadrun, nitrorun, or loadrun.TWL function, the termination message appears, and control is then returned to the prompt on the console.

See Also

OS_Terminate
loadrun
nitrorun
loadrun.TWL

Revision History

2008/05/29 Added information on loadrun.TWL.
2004/08/31 Initial version.


CONFIDENTIAL