chmod(3f)
NAME
chmod − change mode of a file
SYNTAX
integer function chmod (name, mode)
character*(*) name, mode
DESCRIPTION
This function changes the filesystem mode of file name. The mode can be any specification recognized by chmod(.). 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.