mirror of https://github.com/mkerrisk/man-pages
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:
parent
b96ddae00e
commit
bb7a4bccb3
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue