|
42sh 1.0.0
Create a shell in C
|
The file containing the command functions. More...
#include "../include/myshell.h"Functions | |
| builtin_t * | get_builtin_command (int index) |
| Get the builtin command. | |
| char * | check_command_exist (mysh_t *mysh, char *command) |
| Check if the command exists. | |
| void | analyse_command (mysh_t *mysh) |
| Select the command to execute. | |
| void | command (mysh_t *mysh, input_command_t *input) |
| Execute the command. | |
The file containing the command functions.
| void analyse_command | ( | mysh_t * | mysh | ) |
Select the command to execute.
| mysh | The shell structure |
| char * check_command_exist | ( | mysh_t * | mysh, |
| char * | command ) |
Check if the command exists.
| mysh | The shell structure |
| command | The command |
| void command | ( | mysh_t * | mysh, |
| input_command_t * | input ) |
Execute the command.
| mysh | The shell structure |
| input | The input command |
| builtin_t * get_builtin_command | ( | int | index | ) |
Get the builtin command.
| index | The index of the command |