summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2005-11-14 23:57:35 +0000
committerjmc <jmc@openbsd.org>2005-11-14 23:57:35 +0000
commit563f9c1e271c91075be10f13a97b42476a30d12a (patch)
treeb2eb0dc8218d560dd2ce9596623a3810fa0d815c /lib/libc/stdio
parentadd an initial cut at a ixgb(4) man page, derived from the em(4) man page. (diff)
downloadwireguard-openbsd-563f9c1e271c91075be10f13a97b42476a30d12a.tar.xz
wireguard-openbsd-563f9c1e271c91075be10f13a97b42476a30d12a.zip
clarify the description of append mode;
this comes originally from a mail from mpech@; ok otto@, and no one else objected;
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r--lib/libc/stdio/fopen.39
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libc/stdio/fopen.3 b/lib/libc/stdio/fopen.3
index 48e04f47aad..ff0e0b17ec2 100644
--- a/lib/libc/stdio/fopen.3
+++ b/lib/libc/stdio/fopen.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fopen.3,v 1.18 2005/07/26 03:30:25 jaredy Exp $
+.\" $OpenBSD: fopen.3,v 1.19 2005/11/14 23:57:35 jmc Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -90,7 +90,12 @@ The
and
.Fn freopen
functions initially position the stream at the start of the file
-unless the file is opened in append mode,
+unless the file is opened in append mode
+.Po
+.Sq a
+or
+.Sq a+
+.Pc ,
in which case the stream is initially positioned at the end of the file.
.Pp
Opening a file in append mode causes all subsequent writes to it