Lines Matching defs:argc
26 static int check_request_table PROTOTYPE((ss_request_table *rqtbl, int argc,
28 static int really_execute_command PROTOTYPE((int sci_idx, int argc,
64 * check_request_table(rqtbl, argc, argv, sci_idx)
73 * argc (int)
85 static int check_request_table(register ss_request_table *rqtbl, int argc,
99 info->argc = argc;
105 (request->function)(argc, (const char *const *) argv,
115 * really_execute_command(sci_idx, argc, argv)
118 * Fills in the argc, argv values in the subsystem entry and
123 * argc (int)
135 static int really_execute_command(int sci_idx, int argc, char **argv[])
143 if (check_request_table (*rqtbl, argc, *argv, sci_idx) == 0)
167 register int i, argc;
170 argc = 0;
172 argc++;
173 argp = (char **)malloc((argc+1)*sizeof(char *));
174 for (i = 0; i <= argc; i++)
176 i = really_execute_command(sci_idx, argc, &argp);
200 int argc, ret;
217 argv = ss_parse(sci_idx, line_ptr, &argc);
218 if (argc == 0) {
224 ret = really_execute_command (sci_idx, argc, &argv);