chmod(3f) — RISC
NAME
chmod − change mode of a file
SYNTAX
integer function chmod ( name, mode )
character*(*) name, mode
DESCRIPTION
The chmod function changes the filesystem mode of file name . The mode can be any specification recognized by the chmod command. The name must be a single pathname.
The normal returned value is 0. Any other value will be a system error number.
RESTRICTIONS
Pathnames can be no longer than MAXPATHLEN as defined in <sys/param.h>.
FILES
/usr/lib/libU77.a
/bin/chmodexec’ed to change the mode.