summaryrefslogtreecommitdiff
path: root/src/unistd/readlinkat.c
blob: 8171050dace289e490067d5a3ee47792f9d127a3 (plain) (blame)
1
2
3
4
5
6
7
#include <unistd.h>
#include "syscall.h"

int readlinkat(int fd, const char *path, char *buf, size_t bufsize)
{
	return syscall4(__NR_readlinkat, fd, (long)path, (long)buf, bufsize);
}