summaryrefslogtreecommitdiff
path: root/src/unistd/unlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/unlink.c')
-rw-r--r--src/unistd/unlink.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/unistd/unlink.c b/src/unistd/unlink.c
new file mode 100644
index 00000000..38279888
--- /dev/null
+++ b/src/unistd/unlink.c
@@ -0,0 +1,14 @@
+#include "stddef.h"
+#include "sys/types.h"
+#include <unistd.h>
+#include "nonstd/assert.h"
+#include "nonstd/syscall.h"
+
+int unlink(const char *path)
+{
+ ASSERT_NONNULL(path);
+ SC(int, path);
+}
+/*
+POSIX(1)
+*/