Merge remote-tracking branch 'refs/remotes/origin/main'

This commit is contained in:
gazhonsepaskwa
2025-02-05 15:51:24 +01:00
7 changed files with 109 additions and 79 deletions

View File

@@ -6,7 +6,7 @@
/* By: lderidde <lderidde@student.s19.be> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/01/28 09:01:33 by lderidde #+# #+# */
/* Updated: 2025/02/03 14:05:25 by lderidde ### ########.fr */
/* Updated: 2025/02/05 11:50:47 by lderidde ### ########.fr */
/* */
/* ************************************************************************** */
@@ -25,7 +25,7 @@
# define EXPRT_INV "not a valid identifier"
// void echo(char *msg, int flag);
int builtin_echo(char **arg, char **envp);
int builtin_echo(t_ast_n *node, char **envp);
int builtin_exit(char **arg, bool depth, t_ast_n *node);
int builtin_pwd(char **arg);
int builtin_env(char **arg, char **envp);

View File

@@ -6,7 +6,7 @@
/* By: lderidde <lderidde@student.s19.be> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/01/27 11:25:25 by lderidde #+# #+# */
/* Updated: 2025/02/03 13:45:35 by lderidde ### ########.fr */
/* Updated: 2025/02/05 09:55:28 by lderidde ### ########.fr */
/* */
/* ************************************************************************** */

View File

@@ -6,7 +6,7 @@
/* By: lderidde <lderidde@student.s19.be> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/01/24 08:23:27 by lderidde #+# #+# */
/* Updated: 2025/02/04 15:55:59 by lderidde ### ########.fr */
/* Updated: 2025/02/05 13:45:47 by lderidde ### ########.fr */
/* */
/* ************************************************************************** */
@@ -48,7 +48,8 @@ typedef struct s_ast_n
int fds[2];
int _stdout;
int _stdin;
int save_std;
int save_stdo;
int save_stdi;
t_redir *redir;
char *input;
char **files;