From 8bc9542f9dadb9a99f92c20af3291a048e3a75fd Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Wed, 21 Aug 2024 11:58:32 -0400 Subject: kernel: vfs: Add sys_close() Signed-off-by: Ian Moffett --- sys/kern/kern_syscall.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/kern/kern_syscall.c') 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); -- cgit v1.2.3