И
ACCESS(2) Linux Programmer’s Manual ACCESS(2)
NAME
access - check real user’s permissions for a file
SYNOPSIS
#include <unistd.h>
int access(const char *pathname, int mode);
DESCRIPTION
access() checks whether the calling process can access the file pathname. If pathname is a symbolic link, it is dereferenced.