[TUHS] main

Clem Cole clemc at ccc.com
Mon May 25 11:12:23 AEST 2020


No, it’s a FORTRAN-ism.  That allows multiple entries into a subroutine.

On Sun, May 24, 2020 at 8:53 PM Steve Simon <steve at 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
> main() for the program’s entry point,  but we all know what assumption is...
>
> -Steve
>
>
> --
Sent from a handheld expect more typos than usual
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20200524/f10f2fd7/attachment.htm>


More information about the TUHS mailing list