From c8d65dcc2d2e53ae8fca2a35ee55014dbd914dcd Mon Sep 17 00:00:00 2001 From: dholland Date: Sat, 12 Jan 2013 19:21:48 +0000 Subject: One more bit: explicitly state what calls to faccessat() are equivalent to access(). --- lib/libc/sys/access.2 | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'lib/libc/sys/access.2') 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 -- cgit