#ifndef _SHELL_H #define _SHELL_H #include #include #include #include #include #include #define BUFF_SIZE 1024 #define ARG_SIZE 32 char *read_line(); void process_line(char *line, char ***args); int launch(char **args); void process_command(); int execute(char **args); void sig_handler(); int sh_cd(char **args); int sh_exit(char **args); #define BUILTIN_NUM sizeof(builtin) / sizeof(char *) #endif