|
|
1.1 ! root 1: .\" Copyright (c) 1983 Regents of the University of California. ! 2: .\" All rights reserved. The Berkeley software License Agreement ! 3: .\" specifies the terms and conditions for redistribution. ! 4: .\" ! 5: .\" @(#)chmod.3f 6.1 (Berkeley) 5/15/85 ! 6: .\" ! 7: .TH CHMOD 3F "May 15, 1985" ! 8: .UC 5 ! 9: .SH NAME ! 10: chmod \- change mode of a file ! 11: .SH SYNOPSIS ! 12: .B integer function chmod (name, mode) ! 13: .br ! 14: .B character*(*) name, mode ! 15: .SH DESCRIPTION ! 16: This function changes the filesystem ! 17: .I mode ! 18: of file ! 19: .IR name . ! 20: .I Mode ! 21: can be any specification recognized by ! 22: .IR chmod (1). ! 23: .I Name ! 24: must be a single pathname. ! 25: .PP ! 26: The normal returned value is 0. ! 27: Any other value will be a system error number. ! 28: .SH FILES ! 29: .ie \nM /usr/ucb/lib/libU77.a ! 30: .el /usr/lib/libU77.a ! 31: .br ! 32: /bin/chmod exec'ed to change the mode. ! 33: .SH "SEE ALSO" ! 34: chmod(1) ! 35: .SH BUGS ! 36: Pathnames can be no longer than MAXPATHLEN as defined in ! 37: .RI < sys/param.h >.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.