PANIC(10.2)                                           PANIC(10.2)

     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 ker-
          nel 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.

     Page 1                       Plan 9             (printed 4/18/24)