summaryrefslogtreecommitdiff
path: root/src/unistd/unlink.c
blob: f658872dc55afe67d5dcc3e69152c5cea5ba985b (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 "../_syscall.h"

int unlink(const char *path)
{
	ASSERT_NONNULL(path);
	SYSCALL(unlink, int, -1, path, 0, 0, 0, 0, 0);
}
/*
POSIX(1)
*/