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
.I pathname
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
(which may have been obtained using the
(which should have have been obtained using
.BR open (2)
with the
.B O_PATH
flag).
In this case,
.I dirfd
can refer to any type of file, not just a directory.
and
.B O_NOFOLLOW
flags).
.PP
See
.BR openat (2)