fixed norme

This commit is contained in:
mdev9
2024-04-24 10:45:19 +02:00
parent 8becb3f468
commit ab5190ee8f
7 changed files with 40 additions and 74 deletions

View File

@ -6,7 +6,7 @@
/* By: marde-vr <marde-vr@42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/02/04 17:31:38 by tomoron #+# #+# */
/* Updated: 2024/04/23 19:52:16 by tomoron ### ########.fr */
/* Updated: 2024/04/24 10:41:34 by marde-vr ### ########.fr */
/* */
/* ************************************************************************** */
@ -74,7 +74,7 @@ typedef struct s_msh
int out_fd;
int locked_return_code;
int echoctl;
char *here_doc_filename;
char *here_doc_filename;
} t_msh;
extern int g_return_code;
@ -93,7 +93,7 @@ int cmd_is_builtin(t_msh *msh, char *cmd_token);
t_token *token_add_back(t_token *res, char *token);
void child(t_msh *msh, char **cmd_args, int i);
t_token *parse_tokens(char *command, t_env *env);
void parent(t_msh *msh, int i, int cmd_count,char **cmd_args);
void parent(t_msh *msh, int i, int cmd_count, char **cmd_args);
char *ft_get_env(t_env *env, char *var_name);
int is_fd_open(int fd);
int get_out_type(t_msh *msh, t_cmd *cmds);