The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: Caipenghui <Caipenghui_c@163.com>
To: Cornelius Keck <ckeck@texoma.net>,tuhs@minnie.tuhs.org
Cc: tuhs@minnie.tuhs.org
Subject: Re: [TUHS] Cornelius Keck
Date: Wed, 22 Aug 2018 12:25:26 +0800	[thread overview]
Message-ID: <2D648F8B-DA31-4069-8C20-8DE89EA339C7@163.com> (raw)
In-Reply-To: <20180821213743.4931661.91186.9539@texoma.net>

On August 22, 2018 5:37:43 AM GMT+08:00, Cornelius Keck <ckeck@texoma.net> wrote:
> Early C-compilers didn't care much about prototypes. The default return
> type of a function would be an int. It was up to the code's author to
> pass the right (amount, order, type). The linker didn't care about
> signatures as long as the symbol resolved.
>
>
> What one did need were struct definitions and macros, such as getchar,
> putchar, min, max, abs, because they might not be provided by some
> library, causing link to fail.
>
>
> Back then one could get away with constructs creative enough to make a
> modern compiler blow a gasket, and it would all run just fine, as long
> as one didn't accidentally drop a bunch of bits when typecasting, and
> sizeof(int) = sizeof(int*).
>
>
> Those were interesting times. I do miss them.
>
>
>
> Gesendet von meinem BlackBerry 10-Smartphone.
>
> Von: Caipenghui
>
> Gesendet: Dienstag, 21. August 2018 00:12
>
> An: tuhs@minnie.tuhs.org
>
> Betreff: [TUHS] About Unix header files
>
>
> Hello everyone
>
> Hello everyone, I have a question, I looked at the source code of early
> Unix, found that a lot of.c files did
> not contain header files, so compiler compiler will not error?
>
> Caipenghui

We miss DMR. DMR is dead, but we
will not forget his contribution to
humanity. We will learn a simple humorous spirit of DMR. Not only did he teach us to code, he seemed to convey a human spirit. DMR also conveys the spirit of Unix philosophy, such as kiss.do a thing, do it well, etc.

Caipenghui


  reply	other threads:[~2018-08-22  4:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-21  4:55 [TUHS] About Unix header files Caipenghui
2018-08-21  6:00 ` Warren Toomey
2018-08-21 21:37 ` Cornelius Keck
2018-08-22  4:25   ` Caipenghui [this message]
2018-08-22 13:44   ` Perry E. Metzger
2018-08-22 15:29     ` Paul Winalski
2018-08-22 15:36       ` Caipenghui
2018-08-22 15:46       ` Perry E. Metzger
2018-08-22 15:52         ` G. Branden Robinson
2018-08-22 15:56         ` Paul Winalski
2018-08-22 16:04     ` Dan Cross
2018-08-23  2:23       ` George Michaelson

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=2D648F8B-DA31-4069-8C20-8DE89EA339C7@163.com \
    --to=caipenghui_c@163.com \
    --cc=ckeck@texoma.net \
    --cc=tuhs@minnie.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).