Searched refs:_sp (Results 1 - 1 of 1) sorted by relevance

/osnet-11/usr/src/lib/libc/port/gen/
H A Dgetopt.c70 * _sp is required to keep state between successive calls to getopt() while
77 int _sp = 1; variable
198 if (_sp == 1) {
227 optopt = c = (unsigned char)argv[optind][_sp];
229 longopt = (_sp == 1 && c == '-');
239 if (argv[optind][++_sp] == '\0' || longopt) {
241 _sp = 1;
273 if (!longopt && argv[optind][_sp+1] != '\0') {
274 optarg = &argv[optind++][_sp+1];
285 _sp
[all...]

Completed in 15 milliseconds