This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] manual: Document O_DIRECTORY
- From: Florian Weimer <fweimer at redhat dot com>
- To: libc-alpha at sourceware dot org
- Date: Wed, 15 May 2019 14:15:46 +0200
- Subject: [PATCH] manual: Document O_DIRECTORY
2019-05-15 Florian Weimer <fweimer@redhat.com>
* manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
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