Lines Matching +full:sub +full:- +full:groups
33 .Nd get sub options from an argument
49 It is intended for use in parsing groups of option arguments provided
58 .Dv NULL Ns -terminated
64 returns the zero-based offset of the pointer in the
67 in the string, or, \-1 if the string contains no tokens or
92 .Bd -literal -compact
106 while ((ch = getopt(argc, argv, "ab:")) != \-1) {
116 /* process ``one'' sub option */
119 /* process ``two'' sub option */
124 case \-1:
126 error("illegal sub option %s",
129 error("missing sub option");