getopt.h vs unistd.h

Gregory D Moncreaff Gregory_D_Moncreaff@raytheon.com
Tue Sep 4 14:16:00 GMT 2001


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/



More information about the Cygwin mailing list