Annotation of 43BSDTahoe/man/man3f/access.3, revision 1.1.1.1

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: .\"    @(#)access.3f   6.2 (Berkeley) 5/27/86
                      6: .\"
                      7: .TH ACCESS 3F "May 27, 1986"
                      8: .UC 5
                      9: .SH NAME
                     10: access \- determine accessibility of a file
                     11: .SH SYNOPSIS
                     12: .B integer function access (name, mode)
                     13: .br
                     14: .B character*(*) name, mode
                     15: .SH DESCRIPTION
                     16: .I Access
                     17: checks the given file,
                     18: .I name,
                     19: for accessibility with respect to the caller according to
                     20: .I mode.
                     21: .I Mode
                     22: may include in any order and in any combination one or more of:
                     23: .LP
                     24: .nf
                     25: .ta 1i 2i
                     26:           \fBr\fR      test for read permission
                     27:           \fBw\fR      test for write permission
                     28:           \fBx\fR      test for execute permission
                     29:        (blank) test for existence
                     30: .DT
                     31: .fi
                     32: .PP
                     33: An error code is returned if either argument is illegal, or if the file
                     34: cannot be accessed in all of the specified modes.
                     35: 0 is returned if the specified access would be successful.
                     36: .SH FILES
                     37: .ie \nM /usr/ucb/lib/libU77.a
                     38: .el /usr/lib/libU77.a
                     39: .SH "SEE ALSO"
                     40: access(2), perror(3F)
                     41: .SH BUGS
                     42: Pathnames can be no longer than MAXPATHLEN as defined in
                     43: .RI < sys/param.h >.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.