summaryrefslogtreecommitdiff
path: root/lib/libc/unistd/link.c
blob: 9b00d16cf2cbe3da3a3a005568e62720bfe18558 (plain)
1
2
3
4
5
6
7
8
9
#include "asm/unistd_64.h" // for __NR_link

#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);
}