From owner-freebsd-hackers Sat Sep 28 20:35:12 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA11648 for hackers-outgoing; Sat, 28 Sep 1996 20:35:12 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id UAA11565 for ; Sat, 28 Sep 1996 20:35:04 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.7.6/8.6.9) id NAA14103; Sun, 29 Sep 1996 13:29:27 +1000 Date: Sun, 29 Sep 1996 13:29:27 +1000 From: Bruce Evans Message-Id: <199609290329.NAA14103@godzilla.zeta.org.au> To: imp@village.org, thorpej@nas.nasa.gov Subject: Re: Quick question about getopt Cc: hackers@FreeBSD.ORG Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >>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 . This is also in 4.4Lite2's getopt(3). 4.4Lite2 should be merged with before NetBSD. Bruce