This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: More missing lines from <sys/unistd.h>
- To: "gnu-win32 at cygnus dot com" <gnu-win32 at cygnus dot com>, "'Victor Schneider'" <vischne at ibm dot net>
- Subject: RE: More missing lines from <sys/unistd.h>
- From: Sergey Okhapkin <sos at prospect dot com dot ru>
- Date: Tue, 21 Oct 1997 10:25:42 +0300
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".