summaryrefslogtreecommitdiff
path: root/src/unistd/unlink.c
blob: 09fc20b098dc116331c33a000d7b0026b2e5a0f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);
	SYSCALL("unlink", int, -1, path, 0, 0, 0, 0, 0);
}
/*
POSIX(1)
*/