summaryrefslogtreecommitdiff
path: root/user/poweroff.c
diff options
context:
space:
mode:
Diffstat (limited to 'user/poweroff.c')
-rw-r--r--user/poweroff.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/user/poweroff.c b/user/poweroff.c
new file mode 100644
index 0000000..f51a86f
--- /dev/null
+++ b/user/poweroff.c
@@ -0,0 +1,6 @@
+#include <unistd.h>
+
+int main(void)
+{
+ return poweroff();
+}