Add unlink system call.
This commit is contained in:
parent
56e13e24e0
commit
8c94b1316c
8
plat/linux/libsys/unlink.c
Normal file
8
plat/linux/libsys/unlink.c
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
#include <unistd.h>
|
||||||
|
#include "libsys.h"
|
||||||
|
|
||||||
|
int unlink(const char* pathname)
|
||||||
|
{
|
||||||
|
return _syscall(__NR_unlink, (quad) pathname, 0, 0);
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue