*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> panic (9)              
Title
Content
Arch
Section
 

PANIC(9)

Contents


NAME    [Toc]    [Back]

     panic - Bring down system on fatal error

SYNOPSIS    [Toc]    [Back]

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

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

DESCRIPTION    [Toc]    [Back]

     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
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.

RETURN VALUES    [Toc]    [Back]

     The panic() function does not return.

SEE ALSO    [Toc]    [Back]

      
      
     printf(3), boot(9), printf(9)

OpenBSD      3.6                          August     11,     1995
[ Back ]
 Similar pages
Name OS Title
vlseterrorhandler IRIX set VL non-fatal or fatal error handler
VkFatalErrorDialog IRIX Simple manager for fatal error dialogs
shutdown Linux bring the system down
cgerfs IRIX improve the computed solution to a system of linear equations and provides error bounds and backward error est
zgerfs IRIX improve the computed solution to a system of linear equations and provides error bounds and backward error est
dgerfs IRIX improve the computed solution to a system of linear equations and provides error bounds and backward error est
sgerfs IRIX improve the computed solution to a system of linear equations and provides error bounds and backward error est
dtrrfs IRIX provide error bounds and backward error estimates for the solution to a system of linear equations with a tria
dtprfs IRIX provide error bounds and backward error estimates for the solution to a system of linear equations with a tria
dtbrfs IRIX provide error bounds and backward error estimates for the solution to a system of linear equations with a tria
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service