Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys One more bit: explicitly state what calls to fa...



details:   https://anonhg.NetBSD.org/src/rev/91b69e413f78
branches:  trunk
changeset: 783923:91b69e413f78
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sat Jan 12 19:21:48 2013 +0000

description:
One more bit: explicitly state what calls to faccessat() are equivalent
to access().

diffstat:

 lib/libc/sys/access.2 |  13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 8c424ff870b7 -r 91b69e413f78 lib/libc/sys/access.2
--- a/lib/libc/sys/access.2     Sat Jan 12 19:19:24 2013 +0000
+++ b/lib/libc/sys/access.2     Sat Jan 12 19:21:48 2013 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index