Lines Matching refs:sp
36 static int sp = 1; in stgetopt() local
40 if (sp == 1) in stgetopt()
56 optopt = c = argv[optind][sp]; in stgetopt()
60 if (argv[optind][++sp] == '\0') in stgetopt()
63 sp = 1; in stgetopt()
69 if (argv[optind][sp + 1] != '\0') in stgetopt()
70 optarg = &argv[optind++][sp + 1]; in stgetopt()
75 sp = 1; in stgetopt()
80 sp = 1; in stgetopt()
84 if (argv[optind][++sp] == '\0') in stgetopt()
86 sp = 1; in stgetopt()