fix: minishell.h
This commit is contained in:
parent
55e378e2cb
commit
cfd1dffbcf
@ -6,7 +6,7 @@
|
||||
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/02/14 13:45:30 by cchauvet #+# #+# */
|
||||
/* Updated: 2023/02/21 13:20:03 by cchauvet ### ########.fr */
|
||||
/* Updated: 2023/02/21 13:22:44 by cchauvet ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -57,7 +57,7 @@ char *get_value(char *str);
|
||||
char *get_key(char *str);
|
||||
|
||||
/* Echo */
|
||||
int echo(int fd, char **args);
|
||||
int echo(int fd, char *str);
|
||||
/* PWD */
|
||||
int pwd(t_list **env, int fd);
|
||||
/* ENV */
|
||||
@ -65,9 +65,9 @@ int print_env(t_list **head, int fd);
|
||||
/* EXPORT */
|
||||
int print_export(t_list **head, int fd);
|
||||
/* CD */
|
||||
int move_folder(char **args, int fd);
|
||||
int move_folder(char *path, int fd);
|
||||
/* UNSET */
|
||||
int unset(char **args, int fd);
|
||||
int unset(t_list **env, char **args, int fd);
|
||||
|
||||
typedef struct s_cmd
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user