# OS_Terminate

## Syntax

  `#include <nitro/os.h>`
  `void OS_Terminate( void );`

## Arguments

None.

## Return Values

None.

## Description

This function sets the CPU to HALT status and loops the program.

There is no return from this function. Execution cannot switch to another thread after the status has been set to HALT.

Prohibits interrupts and calls `OS_Halt()` internally.

## See Also

`OS_Panic, OS_Halt, OS_Exit`

## Revision History

2004/04/05 Initial version.

CONFIDENTIAL