Go to main content
Oracle Developer Studio 12.5 Man Pages

Exit Print View

Updated: June 2017
 
 

chmod(3f)

Name

chmod - change mode of a file

Synopsis

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

Description

Change the file system mode of file name. You can set mode to be any specification recognized by chmod(1).

The argument name must be a single path name.

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

Files

libfsu.a

/bin/chmod

executed to change the mode

See Also

chmod(1), gerror(3f)

RESTRICTION

Path names cannot be longer than MAXPATHLEN as defined in <sys/param.h>.