summaryrefslogtreecommitdiff
path: root/lib/libc/sys/access.2
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2013-01-12 19:21:48 +0000
committerdholland <dholland@NetBSD.org>2013-01-12 19:21:48 +0000
commitc8d65dcc2d2e53ae8fca2a35ee55014dbd914dcd (patch)
treecd43490b90ef5b3a3d0043e6cb7ff1de5cc0af99 /lib/libc/sys/access.2
parentc308be9d204a72d156e55cc53b1ce56572713a07 (diff)
One more bit: explicitly state what calls to faccessat() are equivalent
to access().
Diffstat (limited to 'lib/libc/sys/access.2')
-rw-r--r--lib/libc/sys/access.213
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/libc/sys/access.2 b/lib/libc/sys/access.2
index 0acac0153ad..a82db958cc6 100644
--- a/lib/libc/sys/access.2
+++ b/lib/libc/sys/access.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: access.2,v 1.30 2013/01/12 19:19:24 dholland Exp $
+.\" $NetBSD: access.2,v 1.31 2013/01/12 19:21:48 dholland Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -63,6 +63,17 @@ If
is
.Dv AT_FDCWD
the current directory is used.
+Calling
+.Fn access
+is equivalent to calling
+.Fn faccessat
+with
+.Fa fd
+set to
+.Dv AT_FDCWD
+and
+.Fa flags
+set to 0.
.Pp
The form of access to check is specified by the bitwise or of the
following values for