|
|
1.1 ! root 1: .TH ACCESS 3F "26 July 1983" ! 2: .UC 4 ! 3: .SH NAME ! 4: access \- determine accessability of a file ! 5: .SH SYNOPSIS ! 6: .B integer function access (name, mode) ! 7: .br ! 8: .B character*(*) name, mode ! 9: .SH DESCRIPTION ! 10: .I Access ! 11: checks the given file, ! 12: .I name, ! 13: for accessability with respect to the caller according to ! 14: .I mode. ! 15: .I Mode ! 16: may include in any order and in any combination one or more of: ! 17: .LP ! 18: .nf ! 19: .ta 1i 2i ! 20: \fBr\fR test for read permission ! 21: \fBw\fR test for write permission ! 22: \fBx\fR test for execute permission ! 23: (blank) test for existence ! 24: .DT ! 25: .fi ! 26: .PP ! 27: An error code is returned if either argument is illegal, or if the file ! 28: can not be accessed in all of the specified modes. ! 29: 0 is returned if the specified access would be successful. ! 30: .SH FILES ! 31: .ie \nM /usr/ucb/lib/libU77.a ! 32: .el /usr/lib/libU77.a ! 33: .SH "SEE ALSO" ! 34: access(2), perror(3F) ! 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.