about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-12-11 09:34:06 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2019-12-11 09:40:02 -0800
commitef4e158c736d067304164c3daa763e4f425af248 (patch)
tree294c200fc9dce82c6b39356fd6802a05abf072da
parentfcee34cc373daee6aa5320a6e1897cdf2005ab53 (diff)
downloadglibc-ef4e158c736d067304164c3daa763e4f425af248.tar.gz
glibc-ef4e158c736d067304164c3daa763e4f425af248.tar.xz
glibc-ef4e158c736d067304164c3daa763e4f425af248.zip
manual: clarify fopen with the x flag
* manual/stdio.texi (Opening Streams): Say how glibc's
implementation of fopen with "x" follows ISO C11.
-rw-r--r--manual/stdio.texi4
1 files changed, 3 insertions, 1 deletions
diff --git a/manual/stdio.texi b/manual/stdio.texi
index bbd3061bab..8051603321 100644
--- a/manual/stdio.texi
+++ b/manual/stdio.texi
@@ -216,7 +216,9 @@ exists, @code{fopen} fails rather than opening it.  If you use
 file.  This is equivalent to the @code{O_EXCL} option to the
 @code{open} function (@pxref{Opening and Closing Files}).
 
-The @samp{x} modifier is part of @w{ISO C11}.
+The @samp{x} modifier is part of @w{ISO C11}, which says the file is
+created with exclusive access; in @theglibc{} this means the
+equivalent of @code{O_EXCL}.
 @end table
 
 The character @samp{b} in @var{opentype} has a standard meaning; it