.TH panic() "" "" "Internal Kernel Routine"
.PC "Fatal system error"
\fBvoid panic(\fIformat\^\fB, \fIarg\^\fB, ... )\fR
\fBchar *\fIformat\^\fB;\fR
.PP
.B panic()
prints an error message and halts the system.
Normally, it is called only when a catastrophic event occurs.
.PP
.I format
gives formatting information for the error message, accompanied by zero or more
.I arg
arguments.
Syntax for
.I format
is the same as for the kernel function
.BR printf() .
.SH "See Also"
.B
internal kernel routines,
printf()
.R
