aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/stdio/fopen.3
diff options
context:
space:
mode:
authorEivind Eklund <eivind@FreeBSD.org>2000-09-22 12:55:36 +0000
committerEivind Eklund <eivind@FreeBSD.org>2000-09-22 12:55:36 +0000
commit11ab3fc7cbfd3d8b74348255ba3a395d2626ab1e (patch)
tree53ea1c7531bec0dc8ed55f38ad1ed7fa34705e45 /lib/libc/stdio/fopen.3
parent3f605d2ffc090ce3102fa301bf9658fe89e5e9a2 (diff)
downloadsrc-11ab3fc7cbfd3d8b74348255ba3a395d2626ab1e.tar.gz
src-11ab3fc7cbfd3d8b74348255ba3a395d2626ab1e.zip
Better documentation of append mode. This should have gone in -current
directly. Now also .Xr fseek reference. Prodded by: sheldonh
Notes
Notes: svn path=/head/; revision=66249
Diffstat (limited to 'lib/libc/stdio/fopen.3')
-rw-r--r--lib/libc/stdio/fopen.38
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libc/stdio/fopen.3 b/lib/libc/stdio/fopen.3
index e3484778fd4b..b6070c8f629a 100644
--- a/lib/libc/stdio/fopen.3
+++ b/lib/libc/stdio/fopen.3
@@ -84,10 +84,18 @@ The stream is positioned at the beginning of the file.
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 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 any intervening
+.Xr fseek 3
+or similar.
.El
.Pp
The