Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Nov 1997 13:40:02 -0800 (PST)
From:      Bill Fenner <fenner@parc.xerox.com>
To:        freebsd-bugs
Subject:   Re: bin/5073 
Message-ID:  <199711182140.NAA25507@hub.freebsd.org>

index | next in thread | raw e-mail

The following reply was made to PR bin/5073; it has been noted by GNATS.

From: Bill Fenner <fenner@parc.xerox.com>
To: Sean Eric Fagan <sef@kithrup.com>
Cc: freebsd-gnats-submit@hub.freebsd.org
Subject: Re: bin/5073 
Date: Tue, 18 Nov 1997 10:03:46 PST

 Sean Eric Fagan <sef@kithrup.com> wrote:
 > Remember, kids:  getopt(3) is your friend.
 
 Remember also, kids, POSIX says that getopt(3) returns -1, not EOF.
 
 BUGS
      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 <stdio.h>.
 
 
   Bill


home | help

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