maxishell
Implementation of a shell for Linux-like systems
|
#include <stdio.h>
#include "libft.h"
#include "shell.h"
#include "env.h"
#include "execute.h"
#include "exit_status.h"
Go to the source code of this file.
Functions | |
int | builtin_cd (t_ms_data *data) |
int builtin_cd | ( | t_ms_data * | data | ) |
Definition at line 28 of file cd.c.
References s_ms_data::args, s_ms_data::envp, EXIT_FAILURE, exit_status_handler(), EXIT_SUCCESS, ft_strjoin(), get_env(), IS_DIRECTORY, PERMISSION_DENIED, and set_env().
Referenced by execute().