on x86_64 use long instead of long long for 64bit posix types
[musl] / src / unistd / readlink.c
1 #include <unistd.h>
2 #include "syscall.h"
3
4 ssize_t readlink(const char *restrict path, char *restrict buf, size_t bufsize)
5 {
6         return syscall(SYS_readlink, path, buf, bufsize);
7 }