delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/10/20/23:45:40

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: More missing lines from <sys/unistd.h>
20 Oct 1997 23:45:40 -0700 :
Message-ID: <01BCDE0B.B00DC430.cygnus.gnu-win32@gater.krystalbank.msk.ru>
To: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>,
"'Victor Schneider'"
<vischne AT ibm DOT net>

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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019