#include <cafe/os.h> void OSPanic(const char* file, int line, const char* msg, ...);
|file||Pointer to a null-terminated string referring to the name of the source file related to this panic. Typically one will specify the macro
|line||Positive integer referring to the source file line number which is initiating the system panic. Typically one will specify the macro
|msg||Pointer to a null-terminated string that includes format specification (equivalent to C standard output functions).|
This function induces a system panic. The specified text file, line, and formatted string msg are sent to the output port. Crash dump logging may be initiated, as applicable.
|Production code||Do not call this function in production code. It is available only for debugging purposes.|
2014-10-20 Initial version.