fix: minishell.h
This commit is contained in:
parent
fb8186ac78
commit
55e378e2cb
12
minishell.h
12
minishell.h
@ -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,15 +57,17 @@ 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 */
|
||||||
int print_env(t_list **head, int fd);
|
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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user