Sections:

All contributions in this site reflect the authors' opinions and they are not necessarily endorsed by, or reflect the beliefs of, anarchyinthetubes, as neither do most of the opinions in other sites.

/sys/doc/ Documentation archive

[manual index][section index]

NAME

panic - abandon hope

SYNOPSIS

void panic(char *fmt, ...)

DESCRIPTION

Panic writes a message to the console and causes the system to give up the ghost. It enables interrupts, dumps the kernel stack, and halts the current processor; if more than one, others will gradually come to a halt. Depending on configuration settings, the platform-dependent exit might reboot the system. The format fmt and associated arguments are the same as those for print(10.2). Panic adds a prefix panic: and a trailing newline.

PANIC(10.2) Rev:  Tue Jan 29 13:11:34 GMT 2008
original page
cat.4l77.com