From 835101f96e7c9fca00940e967c471c33e4e4dae9 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Wed, 15 Nov 2023 21:13:36 +0100 Subject: VFS/LibC: Add getcwd() --- kernel/cpu/syscall.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kernel/cpu/syscall.c') diff --git a/kernel/cpu/syscall.c b/kernel/cpu/syscall.c index 31fa055..40a5b07 100644 --- a/kernel/cpu/syscall.c +++ b/kernel/cpu/syscall.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include @@ -169,6 +170,7 @@ void (*syscall_functions[])() = { (void(*))syscall_mkdir, (void(*))syscall_recvfrom, (void(*))syscall_sendto, (void(*))syscall_kill, (void(*))syscall_sigaction, (void(*))syscall_chdir, + (void(*))syscall_getcwd, }; void syscall_function_handler(u32 eax, u32 arg1, u32 arg2, u32 arg3, u32 arg4, -- cgit v1.2.3