The Unix Heritage Society mailing list
 help / color / Atom feed
From: "Greg A. Woods" <woods@robohack.ca>
To: The Unix Heritage Society mailing list <tuhs@tuhs.org>
Subject: Re: [TUHS] Question: stdio - Who invented and ...
Date: Mon, 23 Mar 2020 19:02:16 -0700
Message-ID: <m1jGYtU-0036tPC@more.local> (raw)
In-Reply-To: <CAC20D2ODSn9UTSjbgCWR_DBbXc+KF9UDLuxnAGD27VGSNCYXvQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1507 bytes --]

At Mon, 23 Mar 2020 09:46:52 -0400, Clem Cole <clemc@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@acm.org>

Kelowna, BC     +1 250 762-7675           RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>     Avoncote Farms <woods@avoncote.ca>

[-- Attachment #2: OpenPGP Digital Signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

      parent reply index

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-23 10:18 Ed Bradford
2020-03-23 10:32 ` arnold
2020-03-23 13:46   ` Clem Cole
2020-03-23 13:59     ` arnold
2020-03-23 14:24       ` Jaap Akkerhuis
2020-03-23 14:45         ` Clem Cole
2020-03-23 18:47         ` Richard Salz
2020-03-23 19:22           ` Jaap Akkerhuis
2020-03-23 21:38     ` Dave Horsfall
2020-03-24  2:02     ` Greg A. Woods [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1jGYtU-0036tPC@more.local \
    --to=woods@robohack.ca \
    --cc=tuhs@tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

The Unix Heritage Society mailing list

Archives are clonable: git clone --mirror http://inbox.vuxu.org/tuhs

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.tuhs


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git