about summary refs log tree commit diff
path: root/src/unistd/readlink.c
blob: f6b1635c631c82ce96c950b0c31434119eacc841 (plain) (blame)
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);
}