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);