aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man2/open.26
1 files changed, 4 insertions, 2 deletions
diff --git a/man2/open.2 b/man2/open.2
index 22fb9240c2..0b9c626405 100644
--- a/man2/open.2
+++ b/man2/open.2
@@ -567,7 +567,9 @@ and
.BR O_NOFOLLOW
are ignored.
-If the
+If
+.I pathname
+is a symbolic link and the
.BR O_NOFOLLOW
flag is also specified,
then the call returns a file descriptor referring to the symbolic link.
@@ -725,7 +727,7 @@ except for the differences described here.
If the pathname given in
.I pathname
is relative, then it is interpreted relative to the directory
- to by the file descriptor
+relative to by the file descriptor
.I dirfd
(rather than relative to the current working directory of
the calling process, as is done by