delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/04/17:16:32

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
Subject: getopt.h vs unistd.h
To: cygwin AT cygwin DOT com
From: "Gregory D Moncreaff" <Gregory_D_Moncreaff AT raytheon DOT com>
Date: Tue, 4 Sep 2001 17:14:53 -0400
Message-ID: <OFAF73FC6E.945B4CE5-ON85256ABD.0072EA68@and.us.ray.com>
X-MIMETrack: Serialize by Router on AD2-MTA02/SRV/Raytheon(Release 5.0.8 |June 18, 2001) at
09/04/2001 05:14:54 PM
MIME-Version: 1.0

where should getopt() be defined?

In cygwin, it seems to be in
getopt.h

but most others have it in
unistd.h

reference:

http://www.rt.com/man/getopt.3.html
http://www.opengroup.org/onlinepubs/7908799/xsh/getopt.html



--
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