aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man2/open.27
1 files changed, 7 insertions, 0 deletions
diff --git a/man2/open.2 b/man2/open.2
index a4f774b2c4..711fd96b8b 100644
--- a/man2/open.2
+++ b/man2/open.2
@@ -959,6 +959,13 @@ referred to by the file descriptor
the calling process, as is done by
.BR open ()
for a relative pathname).
+In this case,
+.I dirfd
+must be a directory that was opened for reading
+.RB ( O_RDONLY )
+or using the
+.B O_PATH
+flag.
.\"
.SS openat2(2)
The