From c7351ffe9b9bbc6297ffad252ab1f6e39db87d73 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sat, 12 Jan 2013 15:37:00 +0100 Subject: add RB_SW_SUSPEND and RB_KEXEC to sys/reboot.h using the glibc names for the magic constants of the linux reboot syscall --- include/sys/reboot.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/sys/reboot.h') diff --git a/include/sys/reboot.h b/include/sys/reboot.h index 26cc3088..9702eddb 100644 --- a/include/sys/reboot.h +++ b/include/sys/reboot.h @@ -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); -- cgit v1.2.1