open.2: Clarify that O_NOFOLLOW is relevant (only) for basename of 'pathname'

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-03-30 12:20:08 +02:00
parent 7b7aad695b
commit 7a11fc63b8
1 changed files with 3 additions and 1 deletions

View File

@ -540,7 +540,9 @@ will not become the process's controlling terminal even if the
process does not have one.
.TP
.B O_NOFOLLOW
If \fIpathname\fP is a symbolic link, then the open fails, with the error
If the trailing component (i.e., basename) of
.I pathname
is a symbolic link, then the open fails, with the error
.BR ELOOP .
Symbolic links in earlier components of the pathname will still be
followed.