which getopt.c is cygwin1.dll using?

Corinna Vinschen cygwin@cygwin.com
Thu Nov 29 02:16:00 GMT 2001


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/



More information about the Cygwin mailing list