From patchwork Wed May 15 12:15:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 32695 Received: (qmail 1090 invoked by alias); 15 May 2019 12:15:51 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 1080 invoked by uid 89); 15 May 2019 12:15:51 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-18.8 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=family X-HELO: mx1.redhat.com From: Florian Weimer To: libc-alpha@sourceware.org Subject: [PATCH] manual: Document O_DIRECTORY Date: Wed, 15 May 2019 14:15:46 +0200 Message-ID: <8736lfykul.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 2019-05-15 Florian Weimer * manual/llio.texi (Open-time Flags): Document O_DIRECTORY. Reviewed-by: Carlos O'Donell 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