OSHalt

Syntax

#include <cafe/os.h>

void OSHalt(char* msg);

Parameters

msg Pointer to a null-terminated string.

Return Values

None.

Description

This function induces a system panic. The text message msg is sent to the output port, in addition to information about the source filename and line number from which this function was invoked. Crash dump logging may be initiated, as applicable.

Do Not Call From

Multiple threads This function is not thread-safe.

See Also

ASSERT
ASSERTMSG
OSPanic
OSReport

Revision History

2014-10-20 Added additional details to description.
2013-05-08 Automated cleanup pass.
2010-08-30 Initial version.


CONFIDENTIAL