Path: utzoo!utgpu!jarvis.csri.toronto.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: <10778@smoke.BRL.MIL> Date: 18 Aug 89 21:59:57 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> <1701@crdgw1.crd.ge.com> <2538@trantor.harris-atd.com> <1989Aug16.203219.11825@cs.rochester.edu> <2549@trantor.harris-atd.com> <10770@smoke. Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 8 In article <8496@galbp.LBP.HARRIS.COM> jsb@advdev.UUCP (FLEA) writes: >I'm curious. What does your C compiler at home do differently with main() >and why is it a "pseudo-function"? >What different rules does it follow? int main(void) { ... } is required to work properly even when there are arguments that could have been passed to it. This is not true of genuine functions.