4.3BSD-Tahoe/usr/man/cat3f/chmod.0

Compare this file to the similar file:
Show the results in this format:




CHMOD(3F)	    UNIX Programmer's Manual		CHMOD(3F)



NNAAMMEE
     chmod - change mode of a file

SSYYNNOOPPSSIISS
     iinntteeggeerr ffuunnccttiioonn cchhmmoodd ((nnaammee,, mmooddee))
     cchhaarraacctteerr**((**)) nnaammee,, mmooddee

DDEESSCCRRIIPPTTIIOONN
     This function changes the filesystem _m_o_d_e of file _n_a_m_e.
     _M_o_d_e can be any specification recognized by _c_h_m_o_d(1).  _N_a_m_e
     must be a single pathname.

     The normal returned value is 0.  Any other value will be a
     system error number.

FFIILLEESS
     /usr/lib/libU77.a
     /bin/chmod          exec'ed to change the mode.

SSEEEE AALLSSOO
     chmod(1)

BBUUGGSS
     Pathnames can be no longer than MAXPATHLEN as defined in
     <_s_y_s/_p_a_r_a_m._h>.






























Printed 7/9/88		  May 15, 1985				1