Plan 9 from Bell Labs’s /usr/web/sources/contrib/dho/kimp/vn/panic

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


.TH PANIC 10
.SH NAME
panic \- abandon hope
.SH SYNOPSIS
.ta \w'\fLchar* 'u
.B
void	panic(char *fmt, ...)
.SH DESCRIPTION
.I 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
.I exit
might reboot the system.
The format
.I fmt
and associated arguments are the same as those for
.IR print (10).
.I Panic
adds a prefix
.L "panic: "
and a trailing newline.

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].