.\" Copyright (c) 1983 Regents of the University of California.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\" @(#)access.3 6.2 (Berkeley) %G%
access \- determine accessibility of a file
.B integer function access (name, mode)
.B character*(*) name, mode
for accessibility with respect to the caller according to
may include in any order and in any combination one or more of:
\fBr\fR test for read permission
\fBw\fR test for write permission
\fBx\fR test for execute permission
(blank) test for existence
An error code is returned if either argument is illegal, or if the file
cannot be accessed in all of the specified modes.
0 is returned if the specified access would be successful.
.ie \nM /usr/ucb/lib/libU77.a
Pathnames can be no longer than MAXPATHLEN as defined in