2.9BSD/usr/man/cat3/chmod.3f


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

NAME
     chmod - change mode of a file

SYNOPSIS
     integer function chmod (name, mode)
     character*(*) name, mode

DESCRIPTION
     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.

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

SEE ALSO
     chmod(1)

BUGS
     Pathnames can be no longer than 128 bytes.

Printed 7/31/83                                                 1