:man| Alphabetical   Categories   About us 
 
PANIC (9) | Kernel routines | Unix Manual Pages | :man

NAME

panic - bring down system on fatal error

CONTENTS

Synopsis
Description
Return Values

SYNOPSIS


.In sys/types.h
.In sys/systm.h void panic "const char *fmt" ...

DESCRIPTION

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.

RETURN VALUES

The panic function does not return.

August 11, 1995 PANIC (9)
shtml">manServer 1.07 from panic.9 using doc macros.

 
Created by Blin Media, 2008-2013