Lines Matching refs:argc
118 int nc_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
119 int nc_main(int argc, char **argv) in nc_main() argument
136 while ((opt = getopt(argc, argv, in nc_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()
172 argc -= optind; in nc_main()
178 if (argc) bb_show_usage(); in nc_main()
180 if (argc > 1) bb_show_usage(); in nc_main()
182 if (!argc || argc > 2) bb_show_usage(); in nc_main()
185 if (argc != 3) bb_show_usage(); in nc_main()
186 argc--; in nc_main()