Searched refs:cmdtab (Results 1 – 13 of 13) sorted by relevance
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | main.c | 415 extern struct cmd cmdtab[]; in getcmd() 423 for (c = cmdtab; (p = c->c_name) != NULL; c++) { in getcmd() 622 extern struct cmd cmdtab[]; in help() 631 for (c = cmdtab; c < &cmdtab[NCMDS]; c++) { in help() 644 c = cmdtab + j * lines + i; in help() 653 if (c + lines >= &cmdtab[NCMDS]) { in help()
|
H A D | cmdtab.c | 130 struct cmd cmdtab[] = { variable 216 int NCMDS = (sizeof (cmdtab) / sizeof (cmdtab[0])) - 1;
|
H A D | Makefile | 29 OBJS = cmds.o cmdtab.o ftp.o getpass.o glob.o main.o pclose.o \
|
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/tftp/ |
H A D | main.c | 141 static struct cmd cmdtab[] = { variable 161 #define AMBIGCMD (&cmdtab[NELEM(cmdtab)]) 731 for (c = cmdtab; (p = c->name) != NULL; c++) { in getcmd() 849 for (c = cmdtab; c->name != NULL; c++) in help()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/nwamadm/ |
H A D | nwamadm.c | 87 static struct cmd cmdtab[] = { variable 161 return (cmdtab[cmd_num].cmd_name); in cmd_to_str() 169 return (gettext(cmdtab[cmd_num].cmd_desc)); in long_help() 184 (void) fprintf(fd, "\t%s\n", cmdtab[i].cmd_usage); in usage() 231 cmdtab[cmd_num].cmd_usage); in die_usage() 1401 if (cmdtab[i].cmd_needs_nwamd) { in main() 1408 cmd_to_str(cmdtab[i].cmd_num)); in main() 1413 cmdtab[i].cmd_handler(argc - 2, &(argv[2])); in main()
|
/titanic_44/usr/src/cmd/mailx/hdr/ |
H A D | glob.h | 60 extern const struct cmd cmdtab[]; /* ???? */
|
/titanic_44/usr/src/cmd/tip/ |
H A D | Makefile | 38 OBJS= acu.o cmds.o cmdtab.o cu.o hunt.o \
|
/titanic_44/usr/src/cmd/mailx/ |
H A D | Makefile | 32 cmd4.o cmdtab.o collect.o config.o edit.o \
|
H A D | cmdtab.c | 56 const struct cmd cmdtab[] = { variable
|
H A D | cmd1.c | 380 for (cc = 0, cp = cmdtab; cp->c_name != NULL; cp++) { in pcmdlist()
|
H A D | lex.c | 760 for (cp = &cmdtab[0]; cp->c_name != NOSTR; cp++) in lex()
|
/titanic_44/usr/src/cmd/zoneadm/ |
H A D | zoneadm.c | 180 static struct cmd cmdtab[] = { variable 219 return (cmdtab[cmd_num].cmd_name); in cmd_to_str() 346 if (cmdtab[i].short_usage == NULL) in usage() 348 (void) fprintf(fd, "%s\n", cmdtab[i].short_usage); in usage() 5586 cmdtab[cmd_num].short_usage == NULL) { in help_func() 5590 sub_usage(cmdtab[cmd_num].short_usage, cmd_num); in help_func() 5607 if (strcmp(cmd, cmdtab[i].cmd_name) == 0) in cmd_match() 5608 return (cmdtab[i].cmd_num); in cmd_match() 5620 return (cmdtab[i].handler(argc - 1, &(argv[1]))); in parse_and_run()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | commands.c | 3392 static Command cmdtab[] = { variable 3461 if (cm = (Command *) genget(name, (char **)cmdtab, sizeof (Command))) 3555 for (c = cmdtab; c->name; c++)
|