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

ssize_t readlink(const char *path, char *buf, size_t bufsize)
{
	return syscall(SYS_readlink, path, buf, bufsize);
}