summaryrefslogtreecommitdiff
path: root/sys/kern/kern_syscall.c
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-08-21 11:58:32 -0400
committerIan Moffett <ian@osmora.org>2024-08-21 12:03:58 -0400
commit8bc9542f9dadb9a99f92c20af3291a048e3a75fd (patch)
treeab00e30f437ec5f6b99fab6866926c2d209d6e2e /sys/kern/kern_syscall.c
parent8f2a455cf3866857349e377cd2cf2bb898e0a494 (diff)
kernel: vfs: Add sys_close()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern/kern_syscall.c')
-rw-r--r--sys/kern/kern_syscall.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_syscall.c b/sys/kern/kern_syscall.c
index 416a8ec..b36c6af 100644
--- a/sys/kern/kern_syscall.c
+++ b/sys/kern/kern_syscall.c
@@ -37,6 +37,7 @@ scret_t(*g_sctab[])(struct syscall_args *) = {
sys_exit, /* SYS_exit */
sys_open, /* SYS_open */
sys_read, /* SYS_read */
+ sys_close, /* SYS_close */
};
const size_t MAX_SYSCALLS = NELEM(g_sctab);