summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/fopen.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdio/fopen.3')
-rw-r--r--lib/libc/stdio/fopen.312
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/libc/stdio/fopen.3 b/lib/libc/stdio/fopen.3
index d44ad41984ea..ffa699d3defb 100644
--- a/lib/libc/stdio/fopen.3
+++ b/lib/libc/stdio/fopen.3
@@ -85,13 +85,17 @@ Open for writing.
The file is created if it does not exist.
The stream is positioned at the end of the file.
Subsequent writes to the file will always end up at the then current
-end of file, irrespective of intervening fseek()s.
+end of file, irrespective of any intervening
+.Xr fseek 3
+or similar.
.It Dq Li a+
Open for reading and writing.
The file is created if it does not exist.
The stream is positioned at the end of the file.
Subsequent writes to the file will always end up at the then current
-end of file, irrespective of intervening fseek()s.
+end of file, irrespective of any intervening
+.Xr fseek 3
+or similar.
.El
.Pp
The
@@ -100,7 +104,7 @@ string can also include the letter ``b'' either as a third character or
as a character between the characters in any of the two-character strings
described above.
This is strictly for compatibility with
-.St -ansiC
+.St -isoC
and has no effect; the ``b'' is ignored.
.Pp
Any created files will have mode
@@ -240,7 +244,7 @@ and
.Fn freopen
functions
conform to
-.St -ansiC .
+.St -isoC .
The
.Fn fdopen
function