blob: 59e99d2d141ca9930643d2c56f9645b5d0810f5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <stddef.h>
#include <syscall.h> // for __syscall_4, syscall
#include <unistd.h> // for readlinkat, size_t, ssize_t
ssize_t readlinkat(int fd, const char *restrict path, char *restrict buf,
size_t bufsize)
{
return syscall(readlinkat, fd, path, buf, bufsize);
}
|