|
42sh 1.0.0
Create a shell in C
|
The file containing the shell functions. More...
#include "../include/myshell.h"Functions | |
| mysh_t * | get_mysh (void) |
| Get the shell structure. | |
| mysh_t * | init_shell (char **env) |
| Initialize the shell structure. | |
| void | check_tty (void) |
| Check if the shell is a tty and display the prompt if it is. | |
| void | shell (char **env) |
| The shell loop. | |
The file containing the shell functions.
| void check_tty | ( | void | ) |
Check if the shell is a tty and display the prompt if it is.
| mysh_t * get_mysh | ( | void | ) |
Get the shell structure.
| mysh_t * init_shell | ( | char ** | env | ) |
Initialize the shell structure.
| environ | The environment variables |
| void shell | ( | char ** | env | ) |
The shell loop.
| environ | The environment variables |