summaryrefslogtreecommitdiff
path: root/user/poweroff.c
diff options
context:
space:
mode:
authorIan McFarlane <i.mcfarlane2002@gmail.com>2025-04-25 11:51:09 -0400
committerIan McFarlane <i.mcfarlane2002@gmail.com>2025-04-25 11:51:09 -0400
commit25359ed1cb1a6131e9d3d26c8f2c8634670ed864 (patch)
tree559750220ff5084e33a2e1f5bc4f0c90b959a4f8 /user/poweroff.c
parentfix freeing of virtual memory (diff)
parentpoweroff syscall (diff)
downloadcomus-25359ed1cb1a6131e9d3d26c8f2c8634670ed864.tar.gz
comus-25359ed1cb1a6131e9d3d26c8f2c8634670ed864.tar.bz2
comus-25359ed1cb1a6131e9d3d26c8f2c8634670ed864.zip
resolve format conflict
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();
+}