42sh 1.0.0
Create a shell in C
|
The file containing the cd builtin. More...
#include "../../include/myshell.h"
Functions | |
int | cd_home (mysh_t *mysh) |
Check if the cd command is a cd ~ and execute it. | |
int | cd_back (mysh_t *mysh) |
Check if the cd command is a cd - and execute it. | |
int | exec_cd (mysh_t *mysh) |
The cd builtin. | |
The file containing the cd builtin.
int cd_back | ( | mysh_t * | mysh | ) |
Check if the cd command is a cd - and execute it.
mysh | The shell structure |
int cd_home | ( | mysh_t * | mysh | ) |
Check if the cd command is a cd ~ and execute it.
mysh | The shell structure |
int exec_cd | ( | mysh_t * | mysh | ) |
The cd builtin.
mysh | The shell structure |