summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-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