Lines Matching refs:optind
173 int status, pid, pending_sig, optind = 1, state = 1; in main() local
187 while (argv[optind][0] == '-') in main()
189 if (strcmp (argv[optind], "-v") == 0) in main()
190 ++optind, verbose = 1; in main()
191 else if (strcmp (argv[optind], "-i") == 0) in main()
192 ++optind, trace_mode = INSTRUCTION; /* backtrace at each insn */ in main()
193 else if (strcmp (argv[optind], "-s") == 0) in main()
194 ++optind, trace_mode = SYSCALL; /* backtrace at each syscall */ in main()
195 else if (strcmp (argv[optind], "-t") == 0) in main()
198 ++optind, trace_mode = TRIGGER; in main()
199 else if (strcmp (argv[optind], "-c") == 0) in main()
201 ++optind, unw_set_caching_policy (as, UNW_CACHE_GLOBAL); in main()
202 else if (strcmp (argv[optind], "-n") == 0) in main()
204 ++optind, print_names = 0; in main()
206 fprintf(stderr, "unrecognized option: %s\n", argv[optind++]); in main()
207 if (optind >= argc) in main()
227 if ((argc > 1) && (optind == argc)) { in main()
231 execve (argv[optind], argv + optind, environ); in main()