diff options
author | 2012-01-15 21:03:05 +0000 | |
---|---|---|
committer | 2012-01-15 21:03:05 +0000 | |
commit | 8d54fb6f96a39a0d7ec8720b0240a245c3519cc6 (patch) | |
tree | 3538c441636af1fd2adff6e7cab9dbc47459482d /lib/libc/stdio/fopen.3 | |
parent | Document what remains of the 2BSD heritage. (diff) | |
download | wireguard-openbsd-8d54fb6f96a39a0d7ec8720b0240a245c3519cc6.tar.xz wireguard-openbsd-8d54fb6f96a39a0d7ec8720b0240a245c3519cc6.zip |
Document early history of a few functions specifically mentioned in 2BSD
manuals; however, it turned out all of these actually predate 2BSD.
All information from http://minnie.tuhs.org/cgi-bin/utree.pl.
ok jmc@ sobrado@
Diffstat (limited to 'lib/libc/stdio/fopen.3')
-rw-r--r-- | lib/libc/stdio/fopen.3 | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/lib/libc/stdio/fopen.3 b/lib/libc/stdio/fopen.3 index b406da943ba..21f26d147ec 100644 --- a/lib/libc/stdio/fopen.3 +++ b/lib/libc/stdio/fopen.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fopen.3,v 1.23 2011/05/02 11:14:11 jmc Exp $ +.\" $OpenBSD: fopen.3,v 1.24 2012/01/15 21:03:05 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: May 2 2011 $ +.Dd $Mdocdate: January 15 2012 $ .Dt FOPEN 3 .Os .Sh NAME @@ -227,6 +227,22 @@ The .Fn fdopen function conforms to .St -p1003.1-88 . +.Sh HISTORY +The +.Fn fopen +function first appeared in +.At v1 . +The +.Fn fdopen +and +.Fn freopen +functions first appeared in +.At v7 . +.Sh AUTHORS +.An Dennis Ritchie +originally implemented +.Fn fopen +in PDP-11 assembler. .Sh CAVEATS Proper code using .Fn fdopen |