summaryrefslogblamecommitdiff
path: root/src/unistd/linkat.c
blob: 0eb51221ff2b64156fecdf85e89a6118d8b5530a (plain) (tree)
1
2
3
4
5
6
7






                                                                                
#include <unistd.h>
#include "syscall.h"

int linkat(int fd1, const char *existing, int fd2, const char *new, int flag)
{
	return syscall5(__NR_linkat, fd1, (long)existing, fd2, (long)new, flag);
}