Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Sep 1996 21:09:08 -0400 (EDT)
From:      Thomas David Rivers <ponds!rivers@dg-rtp.dg.com>
To:        imp@village.org, ponds!FreeBSD.org!hackers@ucbvax.Berkeley.EDU
Subject:   Re: Quick question about getopt
Message-ID:  <199609290109.VAA00302@lakes.water.net>

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.

 Hmmm.... I don't mean to point out what may be the obvious, but isn't
 EOF == -1?

	- Dave R. -



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