ACCESS(3F) UNIX Programmer's Manual ACCESS(3F) NAME access - determine accessibility of a file SYNOPSIS integer function access (name, mode) character*(*) name, mode DESCRIPTION _A_c_c_e_s_s checks the given file, _n_a_m_e, for accessibility with respect to the caller according to _m_o_d_e. _M_o_d_e may include in any order and in any combination one or more of: r test for read permission w test for write permission x 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 suc- cessful. FILES /usr/lib/libU77.a SEE ALSO access(2), perror(3F) BUGS Pathnames can be no longer than MAXPATHLEN as defined in <_s_y_s/_p_a_r_a_m._h>. Printed 11/26/99 May 27, 1986 1