summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2012-10-03 06:27:15 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2012-10-03 06:27:15 +0000
commit7cde3ea1eddfcca22338378f33ebc088dd77db91 (patch)
tree8c83940a511e656a8b1ba117ba244b919afb9776 /lib/libc
parente84579f2b10c356f7fc3365c2246ce00655f53d4 (diff)
tweak text for consistency; from artturi alm
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdio/fopen.37
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libc/stdio/fopen.3 b/lib/libc/stdio/fopen.3
index e0a2d3ae33e..474212670fe 100644
--- a/lib/libc/stdio/fopen.3
+++ b/lib/libc/stdio/fopen.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fopen.3,v 1.25 2012/01/22 13:02:45 schwarze Exp $
+.\" $OpenBSD: fopen.3,v 1.26 2012/10/03 06:27:14 jmc Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: January 22 2012 $
+.Dd $Mdocdate: October 3 2012 $
.Dt FOPEN 3
.Os
.Sh NAME
@@ -64,7 +64,8 @@ Open file for reading.
.It Dq Li r+
Open for reading and writing.
.It Dq Li w
-Truncate file to zero length or create text file for writing.
+Open for writing.
+The file is created if it does not exist, otherwise it is truncated.
.It Dq Li w+
Open for reading and writing.
The file is created if it does not exist, otherwise it is truncated.