diff mbox series

manual: Document O_DIRECTORY

Message ID 8736lfykul.fsf@oldenburg2.str.redhat.com
State New
Headers show
Series manual: Document O_DIRECTORY | expand

Commit Message

Florian Weimer May 15, 2019, 12:15 p.m. UTC
2019-05-15  Florian Weimer  <fweimer@redhat.com>

	* manual/llio.texi (Open-time Flags): Document O_DIRECTORY.

Comments

Carlos O'Donell May 16, 2019, 6:52 p.m. UTC | #1
On 5/15/19 8:15 AM, Florian Weimer wrote:
> 2019-05-15  Florian Weimer  <fweimer@redhat.com>
> 
> 	* manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
> 

OK for master.

Reviewed-by: Carlos O'Donell <carlos@rdhat.com>

> 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

OK. Reviewed POSIX Issue 7. Text looks good to me.

> +
>  @deftypevr Macro int O_TMPFILE
>  @standards{GNU, fcntl.h}
>  If this flag is specified, functions in the @code{open} family create an
>
diff mbox series

Patch

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