Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Paul Garceau" Organization: New Dawn Productions To: cygwin AT sources DOT redhat DOT com Date: Tue, 1 Aug 2000 18:38:55 -0800 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: _argc & _argv Reply-to: Paul Garceau Message-ID: <3987193F.13209.142D841@localhost> In-reply-to: <200008020126.VAA30570@envy.delorie.com> References: <39871530 DOT 13263 DOT 132FCC9 AT localhost> (pgarceau AT teleport DOT com) X-mailer: Pegasus Mail for Win32 (v3.12c) On 1 Aug 2000, at 21:26, the Illustrious DJ Delorie wrote: > > > More specifically, is argc, argv defined with or w/o leading > > underscores for Cygwin when it comes to defining them for a > > main() routine? > > > > csMain (argc, argv); (Cygwin?) > > They're parameter names. You can call them anything you want. > You could call them "quagmire" and "felicity" if you want. Ok...now that it has been made fundamentally clear that I can't pull teeth from a hen...let me once again rephrase the question... What is the "internal representation" of argc, argv for Cygwin? For mingw32 it is as follows: (excerpt from stdlib.h) /* * This seems like a convenient place to declare these variables, which * give programs using WinMain (or main for that matter) access to main-ish * argc and argv. environ is a pointer to a table of environment variables. * NOTE: Strings in _argv and environ are ANSI strings. */ extern int _argc; extern char** _argv; What is used for Cygwin? Cygwin does mean Cygnus for Win32, does it not? Thanks, Paul G. > Nothing real can be threatened. Nothing unreal exists. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com