Mail Archives: djgpp/1996/08/02/19:59:09
Reply to message 9471561 from LAV AT VIDEO DOT YAR on 08/02/96 1:06PM
>> > Almost, actually there is a third valid definition for main():
>> >
>> > int main( int argc, char **argv, char **environment )
>
>This is not a valid definition (at least not standard). It is used in
>borland c, though.
I always thought that you could just get environment vars using
getenv(). Why add an extra complication to program initialization,
even if it is valid?
Does the above even work under DJGPP?
John
- Raw text -