Go to the source code of this file.
|
| typedef int(* | cmd_t) (int argc, const char *argv[], putchar put) |
| | A pointer to a function for a shell command.
|
| |
|
| cmd_t | find_cmd (const char *name) |
| | Gets the cmd_t of a shell command, or NULL if not found.
|
| |
◆ cmd_t
| typedef int(* cmd_t) (int argc, const char *argv[], putchar put) |
A pointer to a function for a shell command.
- Parameters
-
| argc | Number of arguments. |
| argv | The arguments. |
| put | The putchar function. |
- Returns
- Return status.
◆ find_cmd()
| cmd_t find_cmd |
( |
const char * |
name | ) |
|
Gets the cmd_t of a shell command, or NULL if not found.
- Parameters
-