diff options
author | 2012-01-22 13:02:45 +0000 | |
---|---|---|
committer | 2012-01-22 13:02:45 +0000 | |
commit | 12ceeb71ef12a6b0ba17d04991951cf832246868 (patch) | |
tree | 297252d26cda996f054d9f7cba4d76acb5d87740 /lib/libc/stdio | |
parent | Convert softraid(4) to new bio(4) status interface. This allows bioctl(8) (diff) | |
download | wireguard-openbsd-12ceeb71ef12a6b0ba17d04991951cf832246868.tar.xz wireguard-openbsd-12ceeb71ef12a6b0ba17d04991951cf832246868.zip |
Credit Keith Sklower and 2BSD for the first implementation of read-write
access; information found in the 2bsd directory of the CSRG archive CDs.
feedback and ok jmc@
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r-- | lib/libc/stdio/fopen.3 | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libc/stdio/fopen.3 b/lib/libc/stdio/fopen.3 index 21f26d147ec..e0a2d3ae33e 100644 --- a/lib/libc/stdio/fopen.3 +++ b/lib/libc/stdio/fopen.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fopen.3,v 1.24 2012/01/15 21:03:05 schwarze Exp $ +.\" $OpenBSD: fopen.3,v 1.25 2012/01/22 13:02:45 schwarze 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 15 2012 $ +.Dd $Mdocdate: January 22 2012 $ .Dt FOPEN 3 .Os .Sh NAME @@ -238,11 +238,16 @@ and .Fn freopen functions first appeared in .At v7 . +.Pp +Opening a file for both reading and writing has been possible since +.Bx 2 . .Sh AUTHORS .An Dennis Ritchie originally implemented .Fn fopen in PDP-11 assembler. +.An Keith Sklower +first implemented read-write access. .Sh CAVEATS Proper code using .Fn fdopen |