summaryrefslogtreecommitdiff
path: root/src/unistd/readlink.c
blob: 11f45c01d70286253639bd293e5e7c92d8ed30aa (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 syscall(SYS_readlink, path, buf, bufsize);
}