It appears getsubopt is in newlib, and so present in Cygwin's <sys/unistd.h>, but not exported from cygwin1.dll
One of Cygwin's core developers will need to tell us whether this is accidental or on purpose. Max. -- 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/