summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjruoho <jruoho@NetBSD.org>2010-05-06 09:01:34 +0000
committerjruoho <jruoho@NetBSD.org>2010-05-06 09:01:34 +0000
commitdccc94a2b3ef9f0919e6eeea765f3b8a91ed2583 (patch)
tree466a02d9b100d21f2a59401fe1156e315c48ba1d
parentaa18298cd3e9ce59d9975867ffa85ea2134c9689 (diff)
Put the historical note to its own section. Note that also the other
functions (except the _unlocked variants) were in early UNIX versions.
-rw-r--r--lib/libc/stdio/putc.316
1 files changed, 12 insertions, 4 deletions
diff --git a/lib/libc/stdio/putc.3 b/lib/libc/stdio/putc.3
index 7572e9ad683..e7d3dae584a 100644
--- a/lib/libc/stdio/putc.3
+++ b/lib/libc/stdio/putc.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: putc.3,v 1.11 2003/08/07 16:43:29 agc Exp $
+.\" $NetBSD: putc.3,v 1.12 2010/05/06 09:01:34 jruoho Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -33,7 +33,7 @@
.\"
.\" @(#)putc.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd April 25, 2001
+.Dd May 6, 2010
.Dt PUTC 3
.Os
.Sh NAME
@@ -150,10 +150,18 @@ and
.Fn putchar_unlocked
conform to
.St -p1003.1-96 .
-A function
+.Sh HISTORY
+The functions
+.Fn putc ,
+.Fn putchar ,
+and
.Fn putw
-function appeared in
+first appeared in
.At v6 .
+The function
+.Fn fputc
+appeared in
+.At v7 .
.Sh BUGS
The size and byte order of an
.Em int