summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-05-24 16:37:17 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-05-24 16:37:17 +0000
commit00004d977db3db0b6e29b0b59e9d3a5913e589d3 (patch)
tree58368f345e2eafda535c50b84a3059fb7662d6db
parentca64aa2b1309ab8c2c4bc1529e7127ad6276b9e8 (diff)
don't lie about being able to arbitrarily intermix reads and writes in stdio
file streams; gson@araneus.fi - NetBSD PR/6072
-rw-r--r--lib/libc/stdio/fopen.37
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/libc/stdio/fopen.3 b/lib/libc/stdio/fopen.3
index dadb17c0195..b0ea4875e54 100644
--- a/lib/libc/stdio/fopen.3
+++ b/lib/libc/stdio/fopen.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fopen.3,v 1.4 1996/12/04 02:14:27 deraadt Exp $
+.\" $OpenBSD: fopen.3,v 1.5 1999/05/24 16:37:16 aaron Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -113,10 +113,7 @@ as modified by the process'
umask value (see
.Xr umask 2 ) .
.Pp
-Reads and writes may be intermixed on read/write streams in any order,
-and do not require an intermediate seek as in previous versions of
-.Em stdio .
-This is not portable to other systems, however;
+Reads and writes cannot be arbitrarily intermixed on read/write streams.
.Tn ANSI C
requires that
a file positioning function intervene between output and input, unless