Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!gem.mps.ohio-state.edu!ginosko!uunet!kddlab!titcca!sragwa!wsgw!socslgw!diamond From: diamond@csl.sony.co.jp (Norman Diamond) Newsgroups: comp.lang.c Subject: Re: entry at other than main (was: want to know) Message-ID: <10810@riks.csl.sony.co.jp> Date: 6 Sep 89 06:06:54 GMT References: <6030@ficc.uu.net> Reply-To: diamond@riks. (Norman Diamond) Organization: Sony Computer Science Laboratory Inc., Tokyo, Japan Lines: 24 In article <6030@ficc.uu.net> peter@ficc.uu.net (Peter da Silva) writes: >/* Special 'cc' for Herman Rubin. */ ... >main(ac, av) ... > av[0] = cc; Peter! For shame. You should know that you can't assign to that. > av[1] == "real_main.c"; Uh, this one you can do, but you can't do what you meant to do. -- -- Norman Diamond, Sony Corporation (diamond@ws.sony.junet) The above opinions are inherited by your machine's init process (pid 1), after being disowned and orphaned. However, if you see this at Waterloo or Anterior, then their administrators must have approved of these opinions.