Skip to content

Commit

Permalink
manual: Document O_DIRECTORY
Browse files Browse the repository at this point in the history
  • Loading branch information
fweimer-rh committed May 17, 2019
1 parent 5f161b2 commit fef7c63
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 7 additions & 0 deletions manual/llio.texi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fef7c63

Please sign in to comment.