Lines Matching refs:optc

234 	int optc;
238 while ((optc = ksh_getopt(wp, &builtin_opt, "LP")) != -1)
239 switch (optc) {
350 int optc;
353 while ((optc = ksh_getopt(wp, &builtin_opt, opts)) != -1)
354 switch (optc) {
502 int rv = 0, optc, fcflags;
506 while ((optc = ksh_getopt(wp, &builtin_opt, opts)) != -1)
507 switch (optc) {
1016 int optc;
1019 while ((optc = ksh_getopt(wp, &builtin_opt, "dprtUx")) != -1) {
1021 switch (optc) {
1160 int optc, rv = 0;
1163 while ((optc = ksh_getopt(wp, &builtin_opt, "adt")) != -1)
1164 switch (optc) {
1240 int optc, flag = 0, nflag = 0, rv = 0;
1242 while ((optc = ksh_getopt(wp, &builtin_opt, "lpnz")) != -1)
1243 switch (optc) {
1326 int optc;
1328 while ((optc = ksh_getopt(wp, &builtin_opt, "ls:")) != -1)
1329 switch (optc) {
1429 int argc, optc, rv;
1475 optc = ksh_getopt(wp, &user_opt, opts);
1477 if (optc >= 0 && optc != '?' && (user_opt.info & GI_PLUS)) {
1479 buf[1] = optc;
1486 buf[0] = optc < 0 ? '?' : optc;
1514 return (optc < 0 ? 1 : rv);
1521 int optc, rv = 0;
1529 while ((optc = ksh_getopt(wp, &builtin_opt,
1536 switch (optc) {
1612 int i, optc;
1617 while ((optc = ksh_getopt(wp, &builtin_opt, "S")) != -1)
1618 switch (optc) {
2457 int optc, rv = 0;
2460 while ((optc = ksh_getopt(wp, &builtin_opt, "fv")) != -1)
2461 switch (optc) {
2485 optc = 3;
2487 optc = vstrchr(id, '[') ? 0 : 1;
2496 unset(vp, optc);
2614 int optc, i, j;
2620 while ((optc = ksh_getopt((const char **)wp, &opt, ":p")) != -1)
2621 switch (optc) {
2674 int argc, optc, rv = 0;
2680 while ((optc = ksh_getopt(wp, &builtin_opt, "m:")) != -1) {
2681 switch (optc) {
3420 int how = SOFT | HARD, optc, what = 'f';
3423 while ((optc = ksh_getopt(wp, &builtin_opt, rlimits_opts)) != -1)
3424 switch (optc) {
3438 what = optc;