From owner-freebsd-hackers Sat Sep 28 14:47:38 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA06243 for hackers-outgoing; Sat, 28 Sep 1996 14:47:38 -0700 (PDT) Received: from lestat.nas.nasa.gov (lestat.nas.nasa.gov [129.99.50.29]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA06208 for ; Sat, 28 Sep 1996 14:47:34 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by lestat.nas.nasa.gov (8.7.5/8.6.12) with SMTP id OAA19084; Sat, 28 Sep 1996 14:37:23 -0700 (PDT) Message-Id: <199609282137.OAA19084@lestat.nas.nasa.gov> X-Authentication-Warning: lestat.nas.nasa.gov: Host localhost [127.0.0.1] didn't use HELO protocol To: Warner Losh Cc: hackers@freebsd.org Subject: Re: Quick question about getopt Reply-To: Jason Thorpe From: Jason Thorpe Date: Sat, 28 Sep 1996 14:37:23 -0700 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sat, 28 Sep 1996 15:23:40 -0600 Warner Losh 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 . 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