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



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