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

/ast/src/lib/libast/include/
H A Dast_getopt.h35 extern int optind;
/ast/src/lib/libast/comp/
H A Dgetopt.c40 int optind = 1;
52 opt_info.index = (optind > 1 || optind == lastoptind) ? optind : 0;
74 lastoptind = optind = opt_info.index;
H A Dgetoptl.c104 opt_info.index = (optind > 1 || optind == lastoptind) ? optind : 0;
137 lastoptind = optind = opt_info.index;
/ast/src/cmd/mailx/
H A Dmain.c147 #undef optind macro
148 #define optind opt_info.index macro
362 if (argv[optind] && argv[optind][0] != '-')
363 ef = argv[optind++];
454 for (i = optind; (argv[i]) && (*argv[i] != '-'); i++)
H A Dmailx.h114 extern int optind;
/ast/src/cmd/ksh93/tests/
H A Dfunctions.sh858 optind=$OPTIND
870 [[ $OPTIND == "$optind" ]] || err_exit 'OPTIND should be 1'

Completed in 91 milliseconds