Module Name: src
Committed By: dholland
Date: Sat Jan 12 19:21:48 UTC 2013
Modified Files:
src/lib/libc/sys: access.2
Log Message:
One more bit: explicitly state what calls to faccessat() are equivalent
to access().
To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/lib/libc/sys/access.2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/sys/access.2
diff -u src/lib/libc/sys/access.2:1.30 src/lib/libc/sys/access.2:1.31
--- src/lib/libc/sys/access.2:1.30 Sat Jan 12 19:19:24 2013
+++ src/lib/libc/sys/access.2 Sat Jan 12 19:21:48 2013
@@ -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