[TUHS] Question: stdio - Who invented and ...
Greg A. Woods
woods at robohack.ca
Tue Mar 24 12:02:16 AEST 2020
At Mon, 23 Mar 2020 09:46:52 -0400, Clem Cole <clemc at ccc.com> wrote:
Subject: Re: [TUHS] Question: stdio - Who invented and ...
>
> I've forgotten when 'enum' and 'void' got added (which are not in the white
> book - Steve Johnson or Doug may remember). But, I think they were in the
> V7 compiler, and not Typesetter C.
Since I was recently researching these myself:
There was an extra page in the 7th Edition manual titled "Recent Changes
to C" which described both structure assignment and the enumeration
type:
https://www.bell-labs.com/usr/dmr/www/cchanges.pdf
This paper appears in the UNIX System III "The C Programming Language
Reference Manual", but there's no mention of "void" in that manual. On
the other hand the UNIX System III PDP-11 compiler mentions "void" (1980).
I don't see any mention of "void" in 7th Edition sources. However the
version of 'awk' on the v7addenda tape from "12/2/80" has one "(void)"
cast. The only mention of "void" in dmr's "The Development of the C
Language" paper (from HOPL-II, 1993) seems to be in the
"Standardization" section where it's mentioned that it's not described
in the first edition of K&R. There's mention in the CSTR#102 paper from
Sept. 1981 of the "void" type. The 2.9BSD code uses "void", but the
sources I have don't include a copy of the compiler.
--
Greg A. Woods <gwoods at acm.org>
Kelowna, BC +1 250 762-7675 RoboHack <woods at robohack.ca>
Planix, Inc. <woods at planix.com> Avoncote Farms <woods at avoncote.ca>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP Digital Signature
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20200323/2776aa14/attachment.sig>
More information about the TUHS
mailing list