Compaq Fortran for Tru64 UNIX Alpha Systems V5.4

chmod (3f)


Syntax

  integer*4 chmod, ierrno
  external chmod
  character*len name, mode
  ierrno = chmod ( 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.

Restrictions

  Pathnames cannot be longer than MAXPATHLEN (as defined in sys/param.h ).

Return Values

  The function returns zero if it is successful; otherwise, it returns an
  error code.

See Also

  chmod(1)