head 1.1; branch 1.1.1; access ; symbols start:1.1.1.1 blursoft:1.1.1; locks ; strict; comment @ * @; 1.1 date 2002.10.21.14.58.28; author steven; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.10.21.14.58.28; author steven; state Exp; branches ; next ; desc @@ 1.1 log @Initial revision @ text @#include #include #include #define ERRORNONE (0) /* set optarg to this if no errors (0 errs) */ #define ARGSUCCESS (-1) /* returned when processing completed */ #define ERRORFORMAT (-2) /* returned for options not preceded by - or / */ #define ERRORINVALID (-3) /* returned for an argument not in optstring */ #define ERRORDONE (-4) /* returned when argument processing is done */ #define ERRORARGLEN (-5) /* returned when argument is more than a letter*/ #define ERRORPARAM (-6) /* returned when param doesn't follow arg that requires a parameter */ int minigetopt( int argc, char *argv[], char *optstring ); @ 1.1.1.1 log @Blimp Project @ text @@