Subject: Re: getopt(3) return code
To: None <itojun@iijlab.net>
From: Klaus Klein <kleink@uni-trier.de>
List: tech-userlevel
Date: 05/08/2001 02:03:15
>>>>> "itojun" == itojun  <itojun@iijlab.net> writes:

    >> Module Name: basesrc Committed By: kleink Date: Mon May 7
    >> 14:00:23 UTC 2001
    >> 
    >> Modified Files: basesrc/usr.sbin/mld6query: mld6.c
    >> basesrc/usr.sbin/ndp: ndp.c basesrc/usr.sbin/pvcsif: pvcsif.c
    >> basesrc/usr.sbin/pvctxctl: pvctxctl.c
    >> basesrc/usr.sbin/rip6query: rip6query.c
    >> basesrc/usr.sbin/route6d: route6d.c
    >> basesrc/usr.sbin/traceroute6: traceroute6.c
    >> 
    >> Log Message: getopt(3): EOF -> -1.

    itojun> 	thanks for these changes, i briefly remember that
    itojun> there was a change in standard (POSIX?) side for this one.
    itojun> i'm not sure if -1 is more recent, or EOF.  could you give
    itojun> me a pointer if possible?  after making it sure i'd like
    itojun> to update kame tree.

It's -1, per POSIX.2; you can find it in The Open Group's `SUSv2'
document collection.


- Klaus

P.S. I've applied the same kind of change to ping6 and setkey as well.