add RB_SW_SUSPEND and RB_KEXEC to sys/reboot.h
authorSzabolcs Nagy <nsz@port70.net>
Sat, 12 Jan 2013 14:37:00 +0000 (15:37 +0100)
committerSzabolcs Nagy <nsz@port70.net>
Sat, 12 Jan 2013 18:42:39 +0000 (19:42 +0100)
using the glibc names for the magic constants of the linux reboot syscall

include/sys/reboot.h

index 26cc308..9702edd 100644 (file)
@@ -9,6 +9,8 @@ extern "C" {
 #define RB_ENABLE_CAD   0x89abcdef
 #define RB_DISABLE_CAD  0
 #define RB_POWER_OFF    0x4321fedc
+#define RB_SW_SUSPEND   0xd000fce2
+#define RB_KEXEC        0x45584543
 
 int reboot(int);