Functions for CD (change directory) More...
Functions | |
void | change_cwd (t_data *data, t_bool is_pwd) |
Change the values of ENV VAR. | |
int | change_cwd_to_home (t_env_vars *env) |
int | change_cwd_to_previous_cwd (t_env_vars *env) |
Functions for CD (change directory)
void change_cwd | ( | t_data * | data, |
t_bool | is_pwd ) |
Change the values of ENV VAR.
data | data structure |
is_pwd | 1 for PWD, 0 for OLD_PWD |
int change_cwd_to_home | ( | t_env_vars * | env | ) |
int change_cwd_to_previous_cwd | ( | t_env_vars * | env | ) |