about summary refs log tree commit diff
path: root/include/sys/reboot.h
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2013-01-12 15:37:00 +0100
committerSzabolcs Nagy <nsz@port70.net>2013-01-12 19:42:39 +0100
commitc7351ffe9b9bbc6297ffad252ab1f6e39db87d73 (patch)
tree6c0490c442b4a26785824e7c9c740c28315b4473 /include/sys/reboot.h
parent000806cde6416f51f783d2dc487d49b47d297e4e (diff)
downloadmusl-c7351ffe9b9bbc6297ffad252ab1f6e39db87d73.tar.gz
musl-c7351ffe9b9bbc6297ffad252ab1f6e39db87d73.tar.xz
musl-c7351ffe9b9bbc6297ffad252ab1f6e39db87d73.zip
add RB_SW_SUSPEND and RB_KEXEC to sys/reboot.h
using the glibc names for the magic constants of the linux reboot syscall
Diffstat (limited to 'include/sys/reboot.h')
-rw-r--r--include/sys/reboot.h2
1 files changed, 2 insertions, 0 deletions
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);