www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/01/20:50:19

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Tue, 1 Aug 2000 20:46:42 -0400
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: _argc & _argv
Message-ID: <20000801204642.B19975@cygnus.com>
Reply-To: cygwin AT sources DOT redhat DOT com
Mail-Followup-To: cygwin AT sourceware DOT cygnus DOT com
References: <39870B67 DOT 4472 DOT 10CC499 AT localhost>
Mime-Version: 1.0
User-Agent: Mutt/1.3.6i
In-Reply-To: <39870B67.4472.10CC499@localhost>; from pgarceau@teleport.com on Tue, Aug 01, 2000 at 05:39:51PM -0800

On Tue, Aug 01, 2000 at 05:39:51PM -0800, Paul Garceau wrote:
>Hi folks,
>
>   From what I can tell, the values noted in the subject line 
>are not defined as part of standard non-mingw32 headers.
>
>   My question is, how does Cygwin deal with argc, argv  without 
>using mingw32 headers?

Like any UNIX program (or Windows program for that matter).  They
are arguments to main:

int main (int argc, char **argv);

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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