ACCESS(2)
NAME
access − determine whether a file is accessible
SYNOPSIS
int access(filename, mode)
char∗filename;
char∗mode;
DESCRIPTION
Access examines file with name filename to determine if it is accessible according to the modes specified in the mode string mode. Valid characters in the mode string are r (check for read access) w (check for write access), n (check to see if a new file can be created), and o (check to see if file exists). If neither r nor w is specified, both are assumed.
SEE ALSO
December 01, 1986 — Xinu Programmer’s Manual