OSRebootSystem

Syntax

#include <revolution/os.h>

void OSRebootSystem(void);

Arguments

None.

Return Values

None.

Description

OSRebootSystem performs a (hot) reset of the entire system. Running this returns the system to the same state after turning the power, running the system menu after the launch sequence has run.

When calling this function, keep in mind the precautions in Reset and Shutdown Functions.

WARNING: A significant amount of time is needed for the application program to restart because the system menu must be launched after running the same sequence that occurs when the power is turned on. We strongly recommend using the OSRestart restart (or the initialization of all variables and memory states by the application itself) to reset applications normally. If your only objective is to return to the system menu, we strongly recommend using OSReturnToMenu.

See Also

Reset and Shutdown Functions, OSRestart, OSReturnToMenu

Revision History

2008/05/22 Updated the link to OSReturnToMenu because this function's page has been moved.
2006/08/10 Initial version.


CONFIDENTIAL