LibC: Implement rmdir in unistd.h
This commit is contained in:
parent
adf1e54605
commit
600bd7ee0f
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue