Unix/Linux Go Back    

FreeBSD 11.0 - man page for panic (freebsd section 9)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

PANIC(9)			  BSD Kernel Developer's Manual 			 PANIC(9)

     panic -- bring down system on fatal error

     #include <sys/types.h>
     #include <sys/systm.h>

     panic(const char *fmt, ...);

     The panic() function terminates the running system.  The message fmt is a printf(3) style
     format string.  The message is printed to the console and the location panicstr is set to
     the address of the message text for retrieval from the OS core dump.

     If the kernel debugger is installed control is passed to it, otherwise an attempt to save a
     core dump of the OS to a configured dump device is made.

     If panic() is called twice (from the disk sync routines, for example) the system is rebooted
     without syncing the disks.

     The panic() function does not return.

BSD					 August 11, 1995				      BSD
Unix & Linux Commands & Man Pages : ©2000 - 2017 Unix and Linux Forums

All times are GMT -4. The time now is 08:15 AM.