summaryrefslogtreecommitdiff
path: root/lib/libc/unistd/linkat.c
blob: 6751bec696e4d99ec4aff6b40b3eb80f5929a1a7 (plain)
1
2
3
4
5
6
7
8
9


#include <syscall.h> // for __syscall_5, syscall
#include <unistd.h>  // for linkat

int linkat(int fd1, const char *path1, int fd2, const char *path2, int flag)
{
	return syscall(linkat, fd1, path1, fd2, path2, flag);
}