Re: [AD] Proposal for new magic main

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> What about the third main parameter?  Isn't there an arge for 
> environment variables?  I have seen at least one program that defined 
> that third parameter in main.

On a PDP-11 ? ;-)

Then we could always use:
    extern int _mangled_main(int argc, char *argv[], ...);

But that's ugly.

Well, I now wonder whether this proposal is that good. Any alternative ?

--
Eric Botcazou
ebotcazou@xxxxxxxxxx



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/