surprising semantics of the && expression
Derek Fawcus
dfawcus+dlang at employees.org
Wed Feb 4 19:41:23 UTC 2026
> K+R C did not have a void type.
It did, added around Nov '78 (or latest Jul 82).
It is just that they never reprinted the book to account for
void, enums and struct assignment/pass/return being added. If one
grabs some of the historical sources, one can see said support.
From DMR's home page:
'However, it turns out that the paper copies of the 7th Edition
manual that we printed locally include not only what became
Appendix A of K&R 1, but also a page entitled "Recent Changes to
C", and I retyped this.'
I recall reading this in the papers section at the end of the
Unix manuals for the system I had access to.
https://www.nokia.com/bell-labs/about/dennis-m-ritchie/cchanges.pdf
The page above doesn't specifically mention void, but one can see
it in the historical PCC sources if one grabs them (file dates
between Jun 81 and Jul 82). Bitsavers has a cooy somewhere, as
they were used to build the PC-TCP stack.
More information about the Digitalmars-d
mailing list