fix: minishell.h

This commit is contained in:
Camille Chauvet 2023-02-21 13:22:50 +01:00
parent 55e378e2cb
commit cfd1dffbcf

View File

@ -6,7 +6,7 @@
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */ /* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2023/02/14 13:45:30 by cchauvet #+# #+# */ /* 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); char *get_key(char *str);
/* Echo */ /* Echo */
int echo(int fd, char **args); int echo(int fd, char *str);
/* PWD */ /* PWD */
int pwd(t_list **env, int fd); int pwd(t_list **env, int fd);
/* ENV */ /* ENV */
@ -65,9 +65,9 @@ int print_env(t_list **head, int fd);
/* EXPORT */ /* EXPORT */
int print_export(t_list **head, int fd); int print_export(t_list **head, int fd);
/* CD */ /* CD */
int move_folder(char **args, int fd); int move_folder(char *path, int fd);
/* UNSET */ /* UNSET */
int unset(char **args, int fd); int unset(t_list **env, char **args, int fd);
typedef struct s_cmd typedef struct s_cmd
{ {