summary refs log tree commit diff
path: root/manual/llio.texi
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-05-17 11:14:52 +0200
committerFlorian Weimer <fweimer@redhat.com>2019-05-17 11:14:52 +0200
commitfef7c63cd5a5a3150dc9465687359351afab5010 (patch)
tree0650fc9c8b148e9061287de4fa05062c38c5ab5c /manual/llio.texi
parent5f161b2398fc610ebcc65591155faacfa32a2e03 (diff)
downloadglibc-fef7c63cd5a5a3150dc9465687359351afab5010.tar.gz
glibc-fef7c63cd5a5a3150dc9465687359351afab5010.tar.xz
glibc-fef7c63cd5a5a3150dc9465687359351afab5010.zip
manual: Document O_DIRECTORY
Diffstat (limited to 'manual/llio.texi')
-rw-r--r--manual/llio.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/manual/llio.texi b/manual/llio.texi
index 46b891d194..e89affd666 100644
--- a/manual/llio.texi
+++ b/manual/llio.texi
@@ -3671,6 +3671,13 @@ The @code{O_EXCL} flag has a special meaning in combination with
 @code{O_TMPFILE}; see below.
 @end deftypevr
 
+@deftypevr Macro int O_DIRECTORY
+@standards{POSIX.1, fcntl.h}
+If set, the open operation fails if the given name is not the name of
+a directory.  The @code{errno} variable is set to @code{ENOTDIR} for
+this error condition.
+@end deftypevr
+
 @deftypevr Macro int O_TMPFILE
 @standards{GNU, fcntl.h}
 If this flag is specified, functions in the @code{open} family create an