Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Sep 1996 14:37:23 -0700
From:      Jason Thorpe <thorpej@nas.nasa.gov>
To:        Warner Losh <imp@village.org>
Cc:        hackers@freebsd.org
Subject:   Re: Quick question about getopt 
Message-ID:  <199609282137.OAA19084@lestat.nas.nasa.gov>

next in thread | raw e-mail | index | archive | help
On Sat, 28 Sep 1996 15:23:40 -0600 
 Warner Losh <imp@village.org> wrote:

 > Does POSIX have anything to say on the matter?  Couldn't find anything
 > in my POSIX.1 book, but maybe some of the other POSIX standards reveil
 > more?

*chukcle*  Guess I should read my mail _completely_ before replying... :-)

>From NetBSD's getopt(3):

     The getopt() function was once specified to return EOF instead of -1.
     This was changed by IEEE Std1003.2-1992 (``POSIX.2'') to decouple
     getopt() from <stdio.h>.

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609282137.OAA19084>