Lines Matching refs:optc
249 int optc; in c_pwd() local
253 while ((optc = ksh_getopt(wp, &builtin_opt, "LP")) != -1) in c_pwd()
254 switch (optc) { in c_pwd()
609 int optc; in c_whence() local
612 while ((optc = ksh_getopt(wp, &builtin_opt, Tpv)) != -1) in c_whence()
613 switch (optc) { in c_whence()
633 int optc, fcflags = FC_BI | FC_FUNC | FC_PATH | FC_WHENCE; in c_command() local
636 while ((optc = ksh_getopt(wp, &builtin_opt, TpVv)) != -1) in c_command()
637 switch (optc) { in c_command()
773 int optc; in c_alias() local
776 while ((optc = ksh_getopt(wp, &builtin_opt, "dprtUx")) != -1) { in c_alias()
778 switch (optc) { in c_alias()
922 int optc, rv = 0; in c_unalias() local
925 while ((optc = ksh_getopt(wp, &builtin_opt, "adt")) != -1) in c_unalias()
926 switch (optc) { in c_unalias()
1002 int optc, flag = 0, nflag = 0, rv = 0; in c_jobs() local
1004 while ((optc = ksh_getopt(wp, &builtin_opt, "lpnz")) != -1) in c_jobs()
1005 switch (optc) { in c_jobs()
1087 int optc; in c_kill() local
1089 while ((optc = ksh_getopt(wp, &builtin_opt, "ls:")) != -1) in c_kill()
1090 switch (optc) { in c_kill()
1204 int argc, optc, rv; in c_getopts() local
1250 optc = ksh_getopt(wp, &user_opt, opts); in c_getopts()
1252 if (optc >= 0 && optc != '?' && (user_opt.info & GI_PLUS)) { in c_getopts()
1254 buf[1] = optc; in c_getopts()
1261 buf[0] = optc < 0 ? '?' : optc; in c_getopts()
1289 return (optc < 0 ? 1 : rv); in c_getopts()
1296 int optc, rv = 0; in c_bind() local
1304 while ((optc = ksh_getopt(wp, &builtin_opt, in c_bind()
1311 switch (optc) { in c_bind()
1391 int i, optc; in c_umask() local
1396 while ((optc = ksh_getopt(wp, &builtin_opt, "S")) != -1) in c_umask()
1397 switch (optc) { in c_umask()
2283 int optc, rv = 0; in c_unset() local
2286 while ((optc = ksh_getopt(wp, &builtin_opt, "fv")) != -1) in c_unset()
2287 switch (optc) { in c_unset()
2312 optc = 3; in c_unset()
2314 optc = vstrchr(id, '[') ? 0 : 1; in c_unset()
2323 unset(vp, optc); in c_unset()
2441 int optc, i, j; in timex_hook() local
2447 while ((optc = ksh_getopt((const char **)wp, &opt, ":p")) != -1) in timex_hook()
2448 switch (optc) { in timex_hook()
2499 int argc, optc, rv = 0; in c_mknod() local
2505 while ((optc = ksh_getopt(wp, &builtin_opt, "m:")) != -1) { in c_mknod()
2506 switch (optc) { in c_mknod()
3294 int how = SOFT | HARD, optc, what = 'f'; in c_ulimit() local
3297 while ((optc = ksh_getopt(wp, &builtin_opt, rlimits_opts)) != -1) in c_ulimit()
3298 switch (optc) { in c_ulimit()
3312 what = optc; in c_ulimit()