diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2012-01-22 13:02:46 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2012-01-22 13:02:46 +0000 |
commit | 94b1c988ff9dd5a7eba760d3012f07f576e6a106 (patch) | |
tree | c33b3cb14905f728b0c38047bc21ca370bc20ec4 | |
parent | 971ad6bd36c44b88da9d8fb41ff3b26a59fd79de (diff) |
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@
-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 |