LibC: Implement rmdir in unistd.h

This commit is contained in:
Bananymous 2023-12-14 11:02:56 +02:00
parent adf1e54605
commit 600bd7ee0f
1 changed files with 5 additions and 0 deletions

View File

@ -275,6 +275,11 @@ int unlink(const char* path)
return syscall(SYS_UNLINK, path); return syscall(SYS_UNLINK, path);
} }
int rmdir(const char* path)
{
return syscall(SYS_UNLINK, path);
}
pid_t getpid(void) pid_t getpid(void)
{ {
return syscall(SYS_GET_PID); return syscall(SYS_GET_PID);