This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: which getopt.c is cygwin1.dll using?


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@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]