summaryrefslogtreecommitdiff
path: root/lib/libc/unistd/link.c
blob: 96a6de1814d2b7ed4845d87e02a32b71a7004c8e (plain)
1
2
3
4
5
6
7
8
9


#include <syscall.h> // for __syscall_2, syscall
#include <unistd.h>  // for link

int link(const char *path1, const char *path2)
{
	return syscall(link, path1, path2);
}