From 11ab3fc7cbfd3d8b74348255ba3a395d2626ab1e Mon Sep 17 00:00:00 2001 From: Eivind Eklund Date: Fri, 22 Sep 2000 12:55:36 +0000 Subject: [PATCH] Better documentation of append mode. This should have gone in -current directly. Now also .Xr fseek reference. Prodded by: sheldonh --- lib/libc/stdio/fopen.3 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/libc/stdio/fopen.3 b/lib/libc/stdio/fopen.3 index e3484778fd4..b6070c8f629 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