1: /*
   2:  * Copyright (c) 1986 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  *
   6:  *	@(#)reboot.h	1.2 (2.11BSD GTE) 1996/5/9
   7:  */
   8: 
   9: /*
  10:  * Arguments to reboot system call.
  11:  * These are passed to boot program in r4,
  12:  * and on to init.
  13:  */
  14: #define RB_AUTOBOOT 0   /* flags for system auto-booting itself */
  15: 
  16: #define RB_ASKNAME  0x001   /* ask for file name to reboot from */
  17: #define RB_SINGLE   0x002   /* reboot to single user only */
  18: #define RB_NOSYNC   0x004   /* dont sync before reboot */
  19: #define RB_HALT     0x008   /* don't reboot, just halt */
  20: #define RB_INITNAME 0x010   /* name given for /etc/init */
  21: #define RB_DFLTROOT 0x020   /* use compiled-in rootdev */
  22: #define RB_DUMP     0x040   /* take a dump before rebooting */
  23: #define RB_NOFSCK   0x080   /* don't perform fsck's on reboot */
  24: #define RB_POWRFAIL 0x100   /* reboot caused by power failure */
  25: #define RB_RDONLY   0x200   /* mount root fs read-only */
  26: #define RB_AUTODEBUG    0x400   /* init runs autoconfig with "-d" (debug) */
  27: 
  28: #define RB_PANIC    0   /* reboot due to panic */
  29: #define RB_BOOT     1   /* reboot due to boot() */

Defined macros

RB_AUTOBOOT defined in line 14; used 1 times
RB_BOOT defined in line 29; never used
RB_HALT defined in line 19; used 6 times
RB_INITNAME defined in line 20; never used
RB_NOFSCK defined in line 23; used 7 times
RB_PANIC defined in line 28; never used
RB_POWRFAIL defined in line 24; used 2 times

Usage of this include

Last modified: 1996-05-10
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 2620
Valid CSS Valid XHTML 1.0 Strict