www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/10/07/00:33:41

From: nbecker AT fred DOT net
Subject: getopt working in b19?
7 Oct 1998 00:33:41 -0700 :
Message-ID: <E0zQYjn-0000xb-00.cygnus.gnu-win32@hns.com>
Mime-Version: 1.0 (generated by tm-edit 7.108)
To: gnu-win32 AT cygnus DOT com

I am using the standard getopt function on a program that I compile
either with linux (egcs-1.1) or with gnu-win32 (egcs-1.1) both on
i686-pc.

The gnu-win32 function appears to not work.   

 int c;
  while ((c = getopt (argc, argv, "cn:e:b:s:p:")) != EOF) {
    clog << c << '\n';


produces no output.  Is this getopt broken?
-
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