Access give file accessibility access char *fname int perm Description Access returns 0 if the access modes specified in "perm" are correct for the user to access "fname". -1 is returned if the file cannot be accessed. The value for "perm" may be any legal OS-9 mode as used for "open()" or "creat()", it may be zero, which tests whether the file exists, or the path to it may be searched. Caveats NOTE that the "perm" value is not compatible with other systems. Diagnostics The appropiate error indication, if a value of -1 is returned, may be found in "errno".