summaryrefslogtreecommitdiff
path: root/lib/libc/unistd/access.c
blob: 17b910b4feb22d2fff059e183455dca376bf2a95 (plain)
1
2
3
4
5
6
7
8
#include "asm/unistd_64.h" // for __NR_access

#include <syscall.h> // for __syscall_2, syscall

int access(const char *path, int amode)
{
	return syscall(access, path, amode);
}