[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 1

panic Kernel Service

Purpose

Crashes the system.

Syntax

#include <sys/types.h>
#include <sys/errno.h>
panic (s)
char *s;

Parameter

s Points to a character string to be written to the error log.

Description

The panic kernel service is called when a catastrophic error occurs and the system can no longer continue to operate. The panic service performs these two actions:

The system halts after the dump. You should wait for the dump to complete, reboot the system, and then save and analyze the dump.

Execution Environment

The panic kernel service can be called from either the process or interrupt environment.

Return Values

The panic kernel service has no return values.

Implementation Specifics

The panic kernel service is part of Base Operating System (BOS) Runtime.

Related Information

RAS Kernel Services in AIX Kernel Extensions and Device Support Programming Concepts.


[ Previous | Next | Contents | Home | Search ]