cmd_t find_cmd(const char *name)
Gets the cmd_t of a shell command, or NULL if not found.
Definition kshell_cmds.c:42
int(* cmd_t)(int argc, const char *argv[], putchar put)
A pointer to a function for a shell command.
Definition kshell_cmds.h:14
An entry for a shell command.
Definition kshell_cmds.h:20
const char * description
Definition kshell_cmds.h:26
cmd_t command
Definition kshell_cmds.h:24
const char * name
Definition kshell_cmds.h:22