summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/fopen.3
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2012-01-15 21:03:06 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2012-01-15 21:03:06 +0000
commita77c320810e780975ed28ae29c66aa0afc95fb3f (patch)
treef70384621f0022f7364de60f3311b4e46aad5d8f /lib/libc/stdio/fopen.3
parent161a2fac0bae0356ddc472d29b8a22acd498585a (diff)
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.320
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