Searched refs:optind (Results 1 – 25 of 217) sorted by relevance
123456789
95 if (!argv[optind]) in timeout_main()97 timeout = parse_duration_str(argv[optind++]); in timeout_main()98 if (!argv[optind]) /* no PROG? */ in timeout_main()113 sv1 = argv[optind]; in timeout_main()114 sv2 = argv[optind + 1]; in timeout_main()121 argv[optind] = xasprintf("-p%u", parent); in timeout_main()122 argv[optind + 1] = NULL; in timeout_main()147 argv += optind; in timeout_main()
98 argv += optind; in sync_main()137 argv += optind; in fsync_main()
30 argv += optind; in unlink_main()
31 argv += optind; in link_main()
53 argc -= optind; in seq_main()54 argv += optind; in seq_main()
76 argc -= optind; in tee_main()77 argv += optind; in tee_main()
45 argv += optind; in mkfifo_main()
82 argv += optind; in ln_main()83 argc -= optind; in ln_main()
75 fname = argv[optind]; in readlink_main()
47 IF_INCLUDE_SUSv2(argv += optind;) in tty_main()
78 argc -= optind; in mv_main()79 argv += optind; in mv_main()
201 argc -= optind; in od_main()202 argv += optind; in od_main()
50 argv += optind; in rm_main()
149 else if (ENABLE_NC_EXTRA && opt == 'e' && optind <= argc) { in nc_main()157 execparam = xzalloc(sizeof(char*) * (argc - optind + 2)); in nc_main()160 while (optind < argc) { in nc_main()161 *p++ = argv[optind++]; in nc_main()171 argv += optind; /* ... here! */ in nc_main()172 argc -= optind; in nc_main()
134 if (argv[optind]) in fakeidentd_main()135 strncpy(bogouser, argv[optind], COMMON_BUFSIZE - 1); in fakeidentd_main()
249 argv += optind; in uncompress_main()383 argv += optind; in gunzip_main()446 argv += optind; in bunzip2_main()530 argv += optind; in unlzma_main()600 argv += optind; in unxz_main()
42 argv += optind; in setsid_main()
129 device = argv[optind] ? argv[optind] : "/dev/cdrom"; in eject_main()
47 fd = xopen(argv[optind], O_RDONLY); in fsfreeze_main()
91 argv += optind; in fallocate_main()
96 argv += optind; in setarch_main()
36 argv += optind; in partprobe_main()
63 argv += optind - 1; in insmod_main()
31 argv += optind; in pwdx_main()
45 argv += optind; in which_main()