Lines Matching defs:argc
25 static int check_request_table PROTOTYPE((ss_request_table *rqtbl, int argc,
27 static int really_execute_command PROTOTYPE((int sci_idx, int argc,
63 * check_request_table(rqtbl, argc, argv, sci_idx)
72 * argc (int)
84 static int check_request_table (rqtbl, argc, argv, sci_idx)
86 int argc;
101 info->argc = argc;
107 (request->function)(argc, (const char *const *) argv,
117 * really_execute_command(sci_idx, argc, argv)
120 * Fills in the argc, argv values in the subsystem entry and
125 * argc (int)
137 static int really_execute_command (sci_idx, argc, argv)
139 int argc;
148 if (check_request_table (*rqtbl, argc, *argv, sci_idx) == 0)
174 register int i, argc;
177 argc = 0;
179 argc++;
180 argp = (char **)malloc((argc+1)*sizeof(char *));
181 for (i = 0; i <= argc; i++)
183 i = really_execute_command(sci_idx, argc, &argp);
209 int argc, ret;
226 argv = ss_parse(sci_idx, line_ptr, &argc);
227 if (argc == 0) {
233 ret = really_execute_command (sci_idx, argc, &argv);