fix: minishell.h

This commit is contained in:
Camille Chauvet 2023-02-21 13:21:20 +01:00
parent fb8186ac78
commit 55e378e2cb

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:15:41 by erey-bet ### ########.fr */ /* Updated: 2023/02/21 13:20:03 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 *str); int echo(int fd, char **args);
/* PWD */ /* PWD */
int pwd(t_list **env, int fd); int pwd(t_list **env, int fd);
/* ENV */ /* ENV */
@ -65,7 +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 *path); int move_folder(char **args, int fd);
/* UNSET */
int unset(char **args, int fd);
typedef struct s_cmd typedef struct s_cmd
{ {