42sh 1.0.0
Create a shell in C
|
The file containing the source builtin. More...
#include "../../include/myshell.h"
Functions | |
int | execute_bash_file (mysh_t *mysh, int file, size_t size) |
Execute a bash file. | |
int | exec_source (mysh_t *mysh) |
The source builtin. | |
The file containing the source builtin.
int exec_source | ( | mysh_t * | mysh | ) |
The source builtin.
mysh | The shell structure |
int execute_bash_file | ( | mysh_t * | mysh, |
int | file, | ||
size_t | size ) |
Execute a bash file.
mysh | The shell structure |
file | The file descriptor |
size | The size of the file |