www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/02/19:59:09

From: j DOT aldrich6 AT genie DOT com
Message-Id: <199608022355.AA030490115@relay1.geis.com>
Date: Fri, 2 Aug 96 23:29:00 UTC 0000
To: lav AT video DOT yars DOT free DOT net
Cc: djgpp AT delorie DOT com
Mime-Version: 1.0
Subject: Re: Compile Errors

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019