OSIsRestart

C Specification

#include <revolution/os.h>

BOOL OSIsRestart(void);

Arguments

None.

Return Values

Returns TRUE if the system has been booted by OSExecl, or OSExecv. Otherwise, returns FALSE.

Description

Returns TRUE if the system has been booted by OSExecl, or OSExecv. Otherwise, returns FALSE. Use this macro to check whether the system has been booted by OSExecl/OSExecv.

See Also

OSGetResetCode
OSExecl
/OSExecv

Revision History

03/01/2006 Initial version.