.\" @(#)chmod.3f 1.3 86/01/02 SMI; from UCB 4.2 .TH CHMOD 3F "98/09/16" .SH NAME chmod \- change mode of a file .SH SYNOPSIS .B integer*4 function chmod (name, mode) .br .B character*(*) name, mode .SH DESCRIPTION Change the file system .I mode of file .IR name . .\" .IX chmod "" \fLchmod\fP .IX change "mode of a file" .IX mode "change of a file" .IX file "mode change" .\" You can set .I mode to be any specification recognized by .BR chmod (1). .PP The argument .I name must be a single path name. .PP The normal returned value is 0. Any other value is a system error number. .SH FILES .B libF77.a .br .B "/bin/chmod" \ executed to change the mode .SH "SEE ALSO" .BR chmod (1), .BR gerror (3F) .SH RESTRICTION Path names cannot be longer than .B MAXPATHLEN as defined in .BR "" .