summaryrefslogtreecommitdiff
path: root/05/musl-0.6.0/src/unistd/readlink.c
blob: f6b1635c631c82ce96c950b0c31434119eacc841 (plain)
1
2
3
4
5
6
7
#include <unistd.h>
#include "syscall.h"

int readlink(const char *path, char *buf, size_t bufsize)
{
	return syscall3(__NR_readlink, (long)path, (long)buf, bufsize);
}