svn commit: r363762 - stable/12/lib/libc/stdio
Gordon Bergling
gbe at FreeBSD.org
Sat Aug 1 14:08:06 UTC 2020
Author: gbe (doc committer)
Date: Sat Aug 1 14:08:05 2020
New Revision: 363762
URL: https://svnweb.freebsd.org/changeset/base/363762
Log:
MFC r359773 (by carlavilla): Add HISTORY section to getc(3)
PR: 240269
Submitted by: gbe
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D24295
Modified:
stable/12/lib/libc/stdio/getc.3
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/lib/libc/stdio/getc.3
==============================================================================
--- stable/12/lib/libc/stdio/getc.3 Sat Aug 1 14:00:47 2020 (r363761)
+++ stable/12/lib/libc/stdio/getc.3 Sat Aug 1 14:08:05 2020 (r363762)
@@ -32,7 +32,7 @@
.\" @(#)getc.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd January 10, 2003
+.Dd April 4, 2020
.Dt GETC 3
.Os
.Sh NAME
@@ -153,6 +153,22 @@ and
.Fn getchar_unlocked
functions conform to
.St -p1003.1-2001 .
+.Sh HISTORY
+The
+.Fn getc
+and
+.Fn getw
+functions appeared in a similar form in
+.At v1 ;
+and were integrated into stdio in
+.At v7 ;
+.Fn getchar
+in
+.At v4 ;
+and
+.Fn fgetc
+in
+.At v7 .
.Sh BUGS
Since
.Dv EOF
More information about the svn-src-all
mailing list