.TH CHMOD 3F .UC .SH NAME chmod \- change mode of a file .SH SYNOPSIS .B integer function chmod (name, mode) .br .B character*(*) name, mode .SH DESCRIPTION This function changes the filesystem .I mode of file .IR name . .I Mode can be any specification recognized by .IR chmod (1). .I Name must be a single pathname. .PP The normal returned value is 0. Any other value will be a system error number. .SH FILES .ie \nM /usr/ucb/lib/libU77.a .el /usr/lib/libU77.a .br /bin/chmod exec'ed to change the mode. .SH "SEE ALSO" chmod(1) .SH BUGS Pathnames can be no longer than 128 bytes.