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 +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* 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,15 +57,17 @@ char *get_value(char *str);
char *get_key(char *str);
/* Echo */
int echo(int fd, char *str);
int echo(int fd, char **args);
/* PWD */
int pwd(t_list **env, int fd);
/* ENV */
int print_env(t_list **head, int fd);
int print_env(t_list **head, int fd);
/* EXPORT */
int print_export(t_list **head, int fd);
int print_export(t_list **head, int fd);
/* CD */
int move_folder(char *path);
int move_folder(char **args, int fd);
/* UNSET */
int unset(char **args, int fd);
typedef struct s_cmd
{