From owner-freebsd-hackers Sat Sep 28 14:23:59 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA22526 for hackers-outgoing; Sat, 28 Sep 1996 14:23:59 -0700 (PDT) Received: from rover.village.org (rover.village.org [204.144.255.49]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA22469 for ; Sat, 28 Sep 1996 14:23:51 -0700 (PDT) Received: from rover.village.org (localhost [127.0.0.1]) by rover.village.org (8.7.6/8.6.6) with ESMTP id PAA29273 for ; Sat, 28 Sep 1996 15:23:41 -0600 (MDT) Message-Id: <199609282123.PAA29273@rover.village.org> To: hackers@freebsd.org Subject: Quick question about getopt Date: Sat, 28 Sep 1996 15:23:40 -0600 From: Warner Losh Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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