diff --git a/man2/faccessat.2 b/man2/faccessat.2 index b06d4820a..80989f442 100644 --- a/man2/faccessat.2 +++ b/man2/faccessat.2 @@ -23,12 +23,13 @@ .\" the source, must acknowledge the copyright and authors of this work. .\" .\" -.TH FACCESSAT 2 2006-05-05 "Linux 2.6.16" "Linux Programmer's Manual" +.TH FACCESSAT 2 2007-02-28 "Linux 2.6.16" "Linux Programmer's Manual" .SH NAME -faccessat \- change permissions of a file relative to a directory \ -file descriptor +faccessat \- check user's permissions of a file relative to a \ +directory file descriptor .SH SYNOPSIS .nf +.B #include .B #include .sp .BI "int faccessat(int " dirfd ", const char *" pathname ", int " \ @@ -76,7 +77,7 @@ is constructed by ORing together zero or more of the following values: Perform access checks using the effective user and group IDs. By default, .BR faccessat () -uses the effective IDs (like +uses the real IDs (like .BR access (2)). .TP .B AT_SYMLINK_NOFOLLOW @@ -85,7 +86,7 @@ If is a symbolic link, do not dereference it: instead return information about the link itself. .SH "RETURN VALUE" -On success, +On success, (all requested permissions granted) .BR faccessat () returns 0. On error, \-1 is returned and