From 600bd7ee0f2894a48443cb362c1b6d5eb0253001 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Thu, 14 Dec 2023 11:02:56 +0200 Subject: [PATCH] LibC: Implement rmdir in unistd.h --- libc/unistd.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libc/unistd.cpp b/libc/unistd.cpp index c59b7c3d..bc287925 100644 --- a/libc/unistd.cpp +++ b/libc/unistd.cpp @@ -275,6 +275,11 @@ int unlink(const char* path) return syscall(SYS_UNLINK, path); } +int rmdir(const char* path) +{ + return syscall(SYS_UNLINK, path); +} + pid_t getpid(void) { return syscall(SYS_GET_PID);