summaryrefslogtreecommitdiff
path: root/src/sys/include/compat/unix
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-09-20 20:51:50 -0400
committerIan Moffett <ian@osmora.org>2025-09-20 20:51:50 -0400
commit954389acc4fdda1b6dbd3e9c3cf6d5767af40a84 (patch)
tree4785238f8b1f97a2f57e5b9ea521ef4671c000ae /src/sys/include/compat/unix
parentaac5073d768926322ec38ca7153fd8f14e20a88e (diff)
kern: proc: Move sys_exit() to sys/compat/unix/*
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/include/compat/unix')
-rw-r--r--src/sys/include/compat/unix/syscall.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sys/include/compat/unix/syscall.h b/src/sys/include/compat/unix/syscall.h
index 8d0af91..2bb699a 100644
--- a/src/sys/include/compat/unix/syscall.h
+++ b/src/sys/include/compat/unix/syscall.h
@@ -34,6 +34,11 @@
#include <sys/param.h>
#include <sys/syscall.h>
+/*
+ * Exit the current process - exit(2) syscall
+ */
+scret_t sys_exit(struct syscall_args *scargs);
+
#ifdef _NEED_UNIX_SCTAB
scret_t(*g_unix_sctab[])(struct syscall_args *) = {
[SYS_none] = NULL,