access.2 (108028) | access.2 (108087) |
---|---|
1.\" Copyright (c) 1980, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)access.2 8.2 (Berkeley) 4/1/94 | 1.\" Copyright (c) 1980, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)access.2 8.2 (Berkeley) 4/1/94 |
33.\" $FreeBSD: head/lib/libc/sys/access.2 108028 2002-12-18 09:22:32Z ru $ | 33.\" $FreeBSD: head/lib/libc/sys/access.2 108087 2002-12-19 09:40:28Z ru $ |
34.\" 35.Dd September 21, 2001 36.Dt ACCESS 2 37.Os 38.Sh NAME 39.Nm access , eaccess 40.Nd check accessibility of a file 41.Sh LIBRARY --- 75 unchanged lines hidden (view full) --- 117.It Bq Er ETXTBSY 118Write access is requested for a pure procedure (shared text) 119file presently being executed. 120.It Bq Er EACCES 121Permission bits of the file mode do not permit the requested 122access, or search permission is denied on a component of the 123path prefix. 124.It Bq Er EFAULT | 34.\" 35.Dd September 21, 2001 36.Dt ACCESS 2 37.Os 38.Sh NAME 39.Nm access , eaccess 40.Nd check accessibility of a file 41.Sh LIBRARY --- 75 unchanged lines hidden (view full) --- 117.It Bq Er ETXTBSY 118Write access is requested for a pure procedure (shared text) 119file presently being executed. 120.It Bq Er EACCES 121Permission bits of the file mode do not permit the requested 122access, or search permission is denied on a component of the 123path prefix. 124.It Bq Er EFAULT |
125The |
|
125.Fa path | 126.Fa path |
127argument |
|
126points outside the process's allocated address space. 127.It Bq Er EIO 128An I/O error occurred while reading from or writing to the file system. 129.El 130.Sh SECURITY CONSIDERATIONS 131The 132.Fn access 133system call --- 25 unchanged lines hidden --- | 128points outside the process's allocated address space. 129.It Bq Er EIO 130An I/O error occurred while reading from or writing to the file system. 131.El 132.Sh SECURITY CONSIDERATIONS 133The 134.Fn access 135system call --- 25 unchanged lines hidden --- |