delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/29/05:17:15

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
Date: Thu, 29 Nov 2001 11:12:46 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Re: which getopt.c is cygwin1.dll using?
Message-ID: <20011129111246.C24007@cygbert.vinschen.de>
Mail-Followup-To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
References: <EB19A8A38B497D4FA6C88EADE3A8607F125F37 AT cf-bay-exch-04 DOT cacheflow DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <EB19A8A38B497D4FA6C88EADE3A8607F125F37@cf-bay-exch-04.cacheflow.com>; from nathan.downey@cacheflow.com on Wed, Nov 28, 2001 at 05:26:24PM -0800

On Wed, Nov 28, 2001 at 05:26:24PM -0800, Downey, Nathan wrote:
> it does include <unistd.h>, after looking at the definition of <unistd.h> I
> noticed that under cygwin <unistd.h> include <getopt.h>. According to the
> POSIX spec <unistd.h> is not supposed to include <getopt.h>, as a work

SUSv2 defines getopt in unistd.h.

http://www.opengroup.org/onlinepubs/007908799/xsh/getopt.html

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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