This is the mail archive of the cygwin@sourceware.cygnus.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]

RE: More missing lines from <sys/unistd.h>


Victor Schneider wrote:
> Missing lines from <sys/unistd.h> (taken from linux/usr/include/sys/unistd.h):
> 
> extern int _EXFUN (getopt, (int __argc, char *__const * __argv,
> 			__const char *__opts));
> extern int opterr;
> extern int optind;
> extern int optopt;
> extern char *optarg;
> 

Unistd.h is not the best place fot getopt stuff. The program must include getopt.h.

-- 
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job.


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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