42sh 1.0.0
Create a shell in C
|
The file containing the foreach builtin. More...
#include "../../include/myshell.h"
Functions | |
char ** | get_variable_content (mysh_t *mysh) |
Get the content of the variable. | |
void | execute_command (mysh_t *mysh, char *command) |
Execute the command. | |
int | exec_foreach (mysh_t *mysh) |
The foreach builtin. | |
The file containing the foreach builtin.
int exec_foreach | ( | mysh_t * | mysh | ) |
The foreach builtin.
mysh | The shell structure |
void execute_command | ( | mysh_t * | mysh, |
char * | command ) |
Execute the command.
mysh | The shell structure |
command | The command to execute |
char ** get_variable_content | ( | mysh_t * | mysh | ) |
Get the content of the variable.
mysh | The shell structure |