Pointer Trouble Right Here in Unix City

Steven List sml at luke.UUCP
Sat Jun 1 11:20:14 AEST 1985


> > 			*(*argv + 2) ? *argv += 2 : argv++;
> 
> cond ? expr1 : expr2
> 
> P.S.  Consider using the public-domain getopt() that I posted
> a while back.  (You can easily disable the checks that preclude
> -xargument style options in favor of -x argument.  I think those
> restrictions in the spec are pretty silly anyway.)

Could you send this or tell me where to get it?  I am considering
posting some software to the net, and generally use the standard
getopt on my system.  This would allow me to avoid changing all that
code.

Thanks.



More information about the Comp.lang.c mailing list