Displaying 2 results from an estimated 2 matches for "b46a1c5".
Did you mean:
246ac5
2017 May 22
0
[PATCH] Add support for reboot syscall argument
...an be passed around.
---
usr/include/sys/reboot.h | 4 ++--
usr/klibc/reboot.c | 6 +++---
usr/utils/halt.c | 36 ++++++++++++++++++++++--------------
3 files changed, 27 insertions(+), 19 deletions(-)
diff --git a/usr/include/sys/reboot.h b/usr/include/sys/reboot.h
index 3337d27..b46a1c5 100644
--- a/usr/include/sys/reboot.h
+++ b/usr/include/sys/reboot.h
@@ -16,8 +16,8 @@
#define RB_DISABLE_CAD LINUX_REBOOT_CMD_CAD_OFF
#define RB_POWER_OFF LINUX_REBOOT_CMD_POWER_OFF
-/* glibc-ish one-argument version */
-__extern int reboot(int);
+/* two-arguments version of reboot */
+__exter...
2019 Jan 18
0
[klibc:master] Add support for reboot syscall argument
...t decadent.org.uk>
---
usr/include/sys/reboot.h | 4 ++--
usr/klibc/reboot.c | 6 +++---
usr/utils/halt.c | 34 ++++++++++++++++++++--------------
3 files changed, 25 insertions(+), 19 deletions(-)
diff --git a/usr/include/sys/reboot.h b/usr/include/sys/reboot.h
index 3337d27..b46a1c5 100644
--- a/usr/include/sys/reboot.h
+++ b/usr/include/sys/reboot.h
@@ -16,8 +16,8 @@
#define RB_DISABLE_CAD LINUX_REBOOT_CMD_CAD_OFF
#define RB_POWER_OFF LINUX_REBOOT_CMD_POWER_OFF
-/* glibc-ish one-argument version */
-__extern int reboot(int);
+/* two-arguments version of reboot */
+__exter...