getopt (3) problem?

dcm dcm at toysrus.uucp
Fri Sep 14 02:13:06 AEST 1990


In article <4053 at auspex.auspex.com> guy at auspex.auspex.com (Guy Harris) writes:
>>In compiling and running some things, I have found that getopt doesn't act
>>right. When it runs out of parameters instead of returning an EOF it returns
>>a -1. 
>
>You mean EOF *isn't* -1 on whatever kind of system you're using?  (It's


	*Of course* EOF is -1 on Aix.  We didn't mess with that!
--------
	Craig Miller, contractor @ IBM AWD, Austin  (I don't speak for IBM)
	UUCP: ..!uunet!cs.utexas.edu!ibmaus!auschs!toysrus.austin.ibm.com!dcm

	"Just because it works doesn't means it's right, stupid!"
	"Don't believe .signature files."



More information about the Comp.unix.aix mailing list