summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-10-14 03:53:14 +0000
committerRoland McGrath <roland@gnu.org>1994-10-14 03:53:14 +0000
commiteab6f2615f2ee39d701a329fdf6a1f31d6f2e57c (patch)
tree53d8f5312b0cf1507a3e7f84cc24bf155b521082
parentc67356287c51d3c8157eaf05b74d9f35bbbbef6c (diff)
(Opening Streams): In fopen x flag description, mention atomicity, and fix
xref to open.
-rw-r--r--manual/stdio.texi6
1 files changed, 4 insertions, 2 deletions
diff --git a/manual/stdio.texi b/manual/stdio.texi
index 9b9a631df3..cfbf8ce4cb 100644
--- a/manual/stdio.texi
+++ b/manual/stdio.texi
@@ -185,8 +185,10 @@ stream in whatever order.
The GNU C library defines one additional character for use in
@var{opentype}: the character @samp{x} insists on creating a new
file---if a file @var{filename} already exists, @code{fopen} fails
-rather than opening it. This is equivalent to the @code{O_EXCL} option
-to the @code{open} function (@pxref{File Status Flags}).
+rather than opening it. If you use @samp{x} you can are guaranteed that
+you will not clobber an existing file. This is equivalent to the
+@code{O_EXCL} option to the @code{open} function (@pxref{Opening and
+Closing Files}).
The character @samp{b} in @var{opentype} has a standard meaning; it
requests a binary stream rather than a text stream. But this makes no