Add unlink system call.

This commit is contained in:
David Given 2016-09-04 19:23:02 +02:00
parent 56e13e24e0
commit 8c94b1316c

View file

@ -0,0 +1,8 @@
#include <unistd.h>
#include "libsys.h"
int unlink(const char* pathname)
{
return _syscall(__NR_unlink, (quad) pathname, 0, 0);
}