panic - Bring down system on fatal error
panic(const char *fmt, ...);
The panic() function makes the OpenBSD system terminate.
The message fmt
is a printf(9) style format string. The message is printed
to the console
and the location pointed to by the global char pointer
set to the address of the message text for retrieval from
the OS core
If the kernel debugger is installed control is passed to it,
attempt to save a core dump of the OS to a configured dump
If panic() is called twice (from the disk sync routines, for
system is rebooted without syncing the disks.
The panic() function does not return.
printf(3), boot(9), printf(9)
OpenBSD 3.6 August 11, 1995
[ Back ]