Date: Sun, 22 Mar 2020 14:13:30 +0000 From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 240269] Add HISTORY section to getc(3) man page Message-ID: <bug-240269-9-6EH3cGZs0T@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-240269-9@https.bugs.freebsd.org/bugzilla/> References: <bug-240269-9@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240269 Warner Losh <imp@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |imp@FreeBSD.org --- Comment #1 from Warner Losh <imp@FreeBSD.org> --- getc and getw first appear in the V1 man page. but they aren't in what little v1 sources we have. They are in the unix-72 which is closer to a v2 or v3 system. And getc/getw aren't the current modern ones, but took an argument that was= an iobuf, not a FILE* They didn't become the modern form until V7 with stdio. They also changed between v1 and v2 (the buffer size rose from 128 bytes to= 512 bytes). So it's likely better to say 'routines of the same name, but different call= ing conventions, originated in v1'. I can't find getchar in the V2 man page, nor v3. But it is in the v4 man pa= ges (man page is named getchr.3, but documents getchar()). fgetc.c first appears in stdio in V7. --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240269-9-6EH3cGZs0T>