From fef7c63cd5a5a3150dc9465687359351afab5010 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 17 May 2019 11:14:52 +0200 Subject: manual: Document O_DIRECTORY --- manual/llio.texi | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'manual/llio.texi') 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 -- cgit v1.1