Lines Matching refs:optind
173 int status, pid, pending_sig, optind = 1, state = 1; in main() local
192 while (argv[optind][0] == '-') in main()
194 if (strcmp (argv[optind], "-v") == 0) in main()
195 ++optind, verbose = 1; in main()
196 else if (strcmp (argv[optind], "-i") == 0) in main()
197 ++optind, trace_mode = INSTRUCTION; /* backtrace at each insn */ in main()
198 else if (strcmp (argv[optind], "-s") == 0) in main()
199 ++optind, trace_mode = SYSCALL; /* backtrace at each syscall */ in main()
200 else if (strcmp (argv[optind], "-t") == 0) in main()
203 ++optind, trace_mode = TRIGGER; in main()
204 else if (strcmp (argv[optind], "-c") == 0) in main()
206 ++optind, unw_set_caching_policy (as, UNW_CACHE_GLOBAL); in main()
207 else if (strcmp (argv[optind], "-n") == 0) in main()
209 ++optind, print_names = 0; in main()
211 fprintf(stderr, "unrecognized option: %s\n", argv[optind++]); in main()
212 if (optind >= argc) in main()
232 if ((argc > 1) && (optind == argc)) { in main()
236 execvpe (argv[optind], argv + optind, environ); in main()