diff options
Diffstat (limited to 'lib/sys/unlink.h')
| -rw-r--r-- | lib/sys/unlink.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/sys/unlink.h b/lib/sys/unlink.h new file mode 100644 index 0000000..a0f66e3 --- /dev/null +++ b/lib/sys/unlink.h @@ -0,0 +1,11 @@ +#ifndef UNLINK_H +#define UNLINK_H + +#include "syscalls.h" + +int unlink(const char *pathname) +{ + return syscall(UNLINK, pathname); +} + +#endif |