From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 22367 invoked from network); 25 May 2020 01:13:13 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 25 May 2020 01:13:13 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 478249C935; Mon, 25 May 2020 11:13:10 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 834F89C83C; Mon, 25 May 2020 11:12:39 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (1024-bit key; unprotected) header.d=ccc.com header.i=@ccc.com header.b="lCbGLIOR"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 0C3CA9C83C; Mon, 25 May 2020 11:12:36 +1000 (AEST) Received: from mail-qk1-f173.google.com (mail-qk1-f173.google.com [209.85.222.173]) by minnie.tuhs.org (Postfix) with ESMTPS id 3F93793D53 for ; Mon, 25 May 2020 11:12:35 +1000 (AEST) Received: by mail-qk1-f173.google.com with SMTP id b6so16273447qkh.11 for ; Sun, 24 May 2020 18:12:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ccc.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ae6Aknlpi/MHxXi+pyVCF3jdEN5dJYjcDSTT+U76S8Q=; b=lCbGLIORPMo1ZBsBgCBdKNJL2zEzwM32BRClUVOMdKXxjKP6sEZscDfZg1l/E6Xklc y+Qb6mN7yYqh7MzlGsvLkilbZw88NqPe7hVS1VzcFF5TalW2RDwSw1zmQvLRyKNmSCRJ 1y+msob4BmIlWtYyf8NkTTS0kkKivWhLfH84Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ae6Aknlpi/MHxXi+pyVCF3jdEN5dJYjcDSTT+U76S8Q=; b=gP5YhxSWWTt5BfAQDNe0ur7FxCZOlT3Lco8Vl9NwSgwih/rdIqIzRUSqBeA8PJj4H6 U7mWJnZFxhIERmJxcN46Q6SA/EfwDWfbgn9ZEs5F76AIvcLoYpYTKeDd62OB3O1AJFE3 hfWpH9eEMJQqvRFfOtSCSTxK84Y8AqkjhQLv7wKSKi5GpNSFJQMwu+6JadsQFG7dTr/G VOcg4elaQpfblg06M0WSEIzocCA2r5ykmlY4qRcHKwb4DBdUoMi1623jP7UrknKHvBJ5 H77F0ZtToZEanqECH02Xhhg7/K2oDuv4jM2W1wibFwY/bYYPYnrDI4HV/HSDkT9rPEV/ DECQ== X-Gm-Message-State: AOAM5326Jkc903sVgkL1QX5yEKo+lpdShmXNI1uL+Br54TLZ7Qy095G7 u1CAFODUN9Rb10Glwie60u10hAvOU6ihkvdCfkFGvrx1 X-Google-Smtp-Source: ABdhPJzxvDZ7/1i8kVA07y+5V9bgRLB33D9UqDYjLiQjlXBUa1qFsvXMP0SR2KuEIYYMyVdcOco/ITEUp6rzftK2Gy4= X-Received: by 2002:a37:a649:: with SMTP id p70mr25100765qke.307.1590369154111; Sun, 24 May 2020 18:12:34 -0700 (PDT) MIME-Version: 1.0 References: <9E3618DA-1B14-4928-826F-4087F02DB783@quintile.net> In-Reply-To: <9E3618DA-1B14-4928-826F-4087F02DB783@quintile.net> From: Clem Cole Date: Sun, 24 May 2020 21:12:23 -0400 Message-ID: To: Steve Simon Content-Type: multipart/alternative; boundary="0000000000007e2e9605a66eac9f" Subject: Re: [TUHS] main X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: tuhs@minnie.tuhs.org Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --0000000000007e2e9605a66eac9f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable No, it=E2=80=99s a FORTRAN-ism. That allows multiple entries into a subrou= tine. On Sun, May 24, 2020 at 8:53 PM Steve Simon wrote: > > re: main. > > i was surprised not to see any mention of the entry keyword reserved but, > i believe, never used in early c. it is listed in k&r ed1. > > i always assumed this was to allow the author to choose an alternative to > main() for the program=E2=80=99s entry point, but we all know what assum= ption is... > > -Steve > > > -- Sent from a handheld expect more typos than usual --0000000000007e2e9605a66eac9f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
No, it=E2=80=99s a FORTRAN-ism.=C2=A0 That allows mu= ltiple entries into a subroutine.=C2=A0

On Sun, May 24, 2020 at 8= :53 PM Steve Simon <steve@quintile= .net> wrote:

re: main.

i was surprised not to see any mention of the entry keyword reserved but, i= believe, never used in early c. it is listed in k&r ed1.

i always assumed this was to allow the author to choose an alternative to m= ain() for the program=E2=80=99s entry point,=C2=A0 but we all know what ass= umption is...

-Steve


--
Sent from a handheld expect more typos t= han usual
--0000000000007e2e9605a66eac9f--