Searched refs:cmd_tab (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Dlpc.c327 } cmd_tab[] = { variable in typeref:struct:__anon1277
351 for (i = 0; cmd_tab[i].cmd != NULL; i++)
352 if (strcmp(cmd, cmd_tab[i].cmd) == 0) {
353 *handler = cmd_tab[i].handler;
354 return (cmd_tab[i].num_args);
364 for (i = 0; cmd_tab[i].cmd != NULL; i++)
365 if (strcmp(cmd, cmd_tab[i].cmd) == 0)
366 return (gettext(cmd_tab[i].help_string));
378 for (i = 0; cmd_tab[i].cmd != NULL; i++) {
379 printf("\t%s", cmd_tab[
[all...]

Completed in 96 milliseconds