F>=1 .if 3F<=8 . if 3F>1 .if 3F<6 .ds an-extra3 "BSD Program- ACCESS(3F) BSD Reference Manual ACCESS(3F) mer's Manual NNAAMMEE access - determine accessibility of a file SSYYNNOOPPSSIISS iinntteeggeerr ffuunnccttiioonn aacccceessss ((nnaammee,, mmooddee)) cchhaarraacctteerr**((**)) nnaammee,, mmooddee DDEESSCCRRIIPPTTIIOONN _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: rr test for read permission ww test for write permission xx 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. FFIILLEESS /usr/lib/libU77.a SSEEEE AALLSSOO access(2), perror(3F) BBUUGGSS Pathnames can be no longer than MAXPATHLEN as defined in <_s_y_s_/_p_a_r_a_m_._h>. 4.2 Berkeley Distribution June 5, 1993 1