From 73129d4797117a0cf410f4d55712d61df2a52bca Mon Sep 17 00:00:00 2001 From: Sergio Carlavilla Delgado Date: Fri, 10 Apr 2020 09:37:20 +0000 Subject: [PATCH] Add HISTORY section to getc(3) PR: 240269 Submitted by: Gordon Bergling Differential Revision: https://reviews.freebsd.org/D24295 --- lib/libc/stdio/getc.3 | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/lib/libc/stdio/getc.3 b/lib/libc/stdio/getc.3 index 48581e2e6b6..f97ca6382ad 100644 --- a/lib/libc/stdio/getc.3 +++ b/lib/libc/stdio/getc.3 @@ -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