Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Sep 1996 15:23:40 -0600
From:      Warner Losh <imp@village.org>
To:        hackers@freebsd.org
Subject:   Quick question about getopt
Message-ID:  <199609282123.PAA29273@rover.village.org>

next in thread | raw e-mail | index | archive | help
NetBSD's getopt returns -1, while FreeBSD documents it as returning
EOF.  NetBSD's appears to be the same as 4.4 lite 2.  I was curious as
to why the difference between the two existed.  The CVS tree is
unenlightening when I asked it for a revision history.

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?

Warner




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