readlink.2: Fix description of readlinkat() with empty 'pathname'

Reported-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-09-30 10:08:56 +02:00
parent b96ddae00e
commit bb7a4bccb3
1 changed files with 6 additions and 6 deletions

View File

@ -136,15 +136,15 @@ Since Linux 2.6.39,
.\" commit 65cfc6722361570bfe255698d9cd4dccaf47570d .\" commit 65cfc6722361570bfe255698d9cd4dccaf47570d
.I pathname .I pathname
can be an empty string, can be an empty string,
in which case the call operates on the file referred to by in which case the call operates on the symbolic link referred to by
.IR dirfd .IR dirfd
(which may have been obtained using the (which should have have been obtained using
.BR open (2) .BR open (2)
with the
.B O_PATH .B O_PATH
flag). and
In this case, .B O_NOFOLLOW
.I dirfd flags).
can refer to any type of file, not just a directory.
.PP .PP
See See
.BR openat (2) .BR openat (2)