OSIsRestart

Syntax

#include <revolution/os.h>

BOOL OSIsRestart(void);

Arguments

None.

Return Values

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

Description

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

See Also

OSGetResetCode, OSExecl/OSExecv

Revision History

2006/03/01 Initial version.


CONFIDENTIAL