entry at other than main (was: want to know)

Norman Diamond diamond at csl.sony.co.jp
Wed Sep 6 16:06:54 AEST 1989


In article <6030 at ficc.uu.net> peter at 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 at 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.



More information about the Comp.lang.c mailing list