|
42sh 1.0.0
Create a shell in C
|
The file containing the redirections functions. More...
#include "../../include/myshell.h"Functions | |
| char * | get_redirection_path (char *line) |
| Browse the command line to get the redirection path. | |
| int | missing_name (mysh_t *mysh, char **commands) |
| Display the error message when the name is missing. | |
| void | select_redirections (mysh_t *mysh, input_command_t *input) |
| Analyse and execute the good redirection. | |
The file containing the redirections functions.
| char * get_redirection_path | ( | char * | line | ) |
Browse the command line to get the redirection path.
| line | The command line |
| int missing_name | ( | mysh_t * | mysh, |
| char ** | commands ) |
Display the error message when the name is missing.
| mysh | The shell structure |
| commands | The command line |
| void select_redirections | ( | mysh_t * | mysh, |
| input_command_t * | input ) |
Analyse and execute the good redirection.
| mysh | The shell structure |
| input | The input command |