_argc & _argv

DJ Delorie dj@delorie.com
Tue Aug 1 18:44:00 GMT 2000


> extern int	_argc;
> extern char**	_argv;
> 
> 	What is used for Cygwin?

Ah, that's a different question.

For Cygwin, no such variables exist.  If you need something like this,
the only way that is portable is for *your* main() to save them
somewhere.

> Cygwin does mean Cygnus for Win32, does it not?

Of course, but that doesn't mean we all use the same software, or do
unportable things the same way.  If we did, there wouldn't be any
point, would there?

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list