summaryrefslogtreecommitdiff
path: root/src/unistd/symlink.c
blob: 8d380d8531250e6ebb135062622f657f547be89c (plain)
1
2
3
4
5
6
7
#include <unistd.h>
#include "syscall.h"

int symlink(const char *existing, const char *new)
{
	return syscall2(__NR_symlink, (long)existing, (long)new);
}