blob: e8d97d803736fbefc252f445af272b906e0b10be (
plain)
1
2
3
4
5
6
7
8
9
|
#include "asm/unistd_64.h" // for __NR_readlink
#include <syscall.h> // for __syscall_3, syscall
#include <unistd.h> // for readlink, size_t, ssize_t
ssize_t readlink(const char *restrict path, char *restrict buf, size_t bufsize)
{
return syscall(readlink, path, buf, bufsize);
}
|