This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
[glibc/zack/no-nested-includes] manual: Document O_DIRECTORY
- From: Zack Weinberg <zack at sourceware dot org>
- To: glibc-cvs at sourceware dot org
- Date: 26 May 2019 16:34:18 -0000
- Subject: [glibc/zack/no-nested-includes] manual: Document O_DIRECTORY
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=fef7c63cd5a5a3150dc9465687359351afab5010
commit fef7c63cd5a5a3150dc9465687359351afab5010
Author: Florian Weimer <fweimer@redhat.com>
Date: Fri May 17 11:14:52 2019 +0200
manual: Document O_DIRECTORY
Diff:
---
ChangeLog | 4 ++++
manual/llio.texi | 7 +++++++
2 files changed, 11 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index a46b64f..1e44589 100644
--- 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
diff --git a/manual/llio.texi b/manual/llio.texi
index 46b891d..e89affd 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