]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
manual: Document O_DIRECTORY
authorFlorian Weimer <fweimer@redhat.com>
Fri, 17 May 2019 09:14:52 +0000 (11:14 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 17 May 2019 09:14:52 +0000 (11:14 +0200)
ChangeLog
manual/llio.texi

index a46b64ffb5805840a27641bbd9ec723df0f59e7f..1e445899181e0701de6e512d385c7d069a471cd6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-05-17  Florian Weimer  <fweimer@redhat.com>
+
+       * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
+
 2019-05-16  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/unix/sysv/linux/alpha/kernel-features.h
index 46b891d194dd18e91aca140b379c35d8fcb97117..e89affd6662e81d7d98807ed2165055a815a6c19 100644 (file)
@@ -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