summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/sys/reboot.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/sys/reboot.h')
-rw-r--r--sysdeps/unix/sysv/linux/sys/reboot.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/sys/reboot.h b/sysdeps/unix/sysv/linux/sys/reboot.h
index 4d249aaaaa..dd7a71b4c6 100644
--- a/sysdeps/unix/sysv/linux/sys/reboot.h
+++ b/sysdeps/unix/sysv/linux/sys/reboot.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -20,8 +20,8 @@
bits in the argument to the `reboot' system call. */
#ifndef _SYS_REBOOT_H
-
#define _SYS_REBOOT_H 1
+
#include <features.h>
/* Perform a hard reset now. */
@@ -36,6 +36,9 @@
/* Disable reboot using Ctrl-Alt-Delete keystroke. */
#define RB_DISABLE_CAD 0
+/* Stop system and switch power off if possible. */
+#define RB_POWER_OFF 0x4321fedc
+
__BEGIN_DECLS
/* Reboot or halt the system. */