Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!mailrus!uflorida!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: want to know Message-ID: <10745@smoke.BRL.MIL> Date: 16 Aug 89 04:09:46 GMT References: <8487@bsu-cs.bsu.edu> <2980@solo9.cs.vu.nl> <182@sunquest.UUCP> <14269@haddock.ima.isc.com> <1496@l.cc.purdue.edu> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 16 In article <1496@l.cc.purdue.edu> cik@l.cc.purdue.edu (Herman Rubin) writes: [Here Rubin goes again. As regular readers of this newsgroup will recall, he seems to be of the opinion that C "should" allow him to do anything he can do in assembler.] >There is no even moderately fair reason why the user's program should start >at main (or _main if from C, or _MAIN_ if from Fortran). There is no particular reason why it shouldn't, either, in C. Arguments about how other languages, linkers, etc. do it differently are simply irrelevant. The initial entry to a C program in a hosted environment is the function named "main", which has a well-defined interface (that differs in some ways from other C functions). Learn to use the language instead of fighting it!