summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>2000-09-22 12:55:36 +0000
committereivind <eivind@FreeBSD.org>2000-09-22 12:55:36 +0000
commitcbd7d143c1fcfdd4e4f35c88208cd82e7953d21b (patch)
treec371c1252fa6fba0b1626001ce83529e9a093973 /lib/libc
parentc8adbcf10a862b60e19c57b87e8c9163fe9ebe81 (diff)
downloadFreeBSD-src-cbd7d143c1fcfdd4e4f35c88208cd82e7953d21b.zip
FreeBSD-src-cbd7d143c1fcfdd4e4f35c88208cd82e7953d21b.tar.gz
Better documentation of append mode. This should have gone in -current
directly. Now also .Xr fseek reference. Prodded by: sheldonh
Diffstat (limited to 'lib/libc')
-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 e348477..b6070c8 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
OpenPOWER on IntegriCloud