svn commit: r359773 - head/lib/libc/stdio
Sergio Carlavilla Delgado
carlavilla at FreeBSD.org
Fri Apr 10 09:37:21 UTC 2020
Author: carlavilla (doc committer)
Date: Fri Apr 10 09:37:20 2020
New Revision: 359773
URL: https://svnweb.freebsd.org/changeset/base/359773
Log:
Add HISTORY section to getc(3)
PR: 240269
Submitted by: Gordon Bergling
Differential Revision: https://reviews.freebsd.org/D24295
Modified:
head/lib/libc/stdio/getc.3
Modified: head/lib/libc/stdio/getc.3
==============================================================================
--- head/lib/libc/stdio/getc.3 Fri Apr 10 09:27:18 2020 (r359772)
+++ head/lib/libc/stdio/getc.3 Fri Apr 10 09:37:20 2020 (r359773)
@@ -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