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

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