ACCESS(2) Xinu Programmer's Manual ACCESS(2) NAME access - determine whether a file is accessible SYNOPSIS int access(filename, mode) char *filename; char *mode; DESCRIPTION _A_c_c_e_s_s examines file with name _f_i_l_e_n_a_m_e to determine if it is accessible according to the modes specified in the mode string _m_o_d_e. 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 open(2), ckmode(3) Version 6b Printed 1/12/87 1