diff options
| author | Christopher Uhlig | 2025-01-20 17:34:02 +0100 |
|---|---|---|
| committer | Christopher Uhlig | 2025-01-20 17:34:02 +0100 |
| commit | 634a3b84b31cbcc5c0c665338e1ef1eb49f25e5d (patch) | |
| tree | a30f4d0c47a636c822e97efc2678b61d3e2c3dad /include/minishell.h | |
| parent | 8f5abcdb257393a2e576fe382835e8e060662834 (diff) | |
| download | minishell-634a3b84b31cbcc5c0c665338e1ef1eb49f25e5d.tar.gz minishell-634a3b84b31cbcc5c0c665338e1ef1eb49f25e5d.zip | |
fixed a bunch of stuff
Diffstat (limited to 'include/minishell.h')
| -rw-r--r-- | include/minishell.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/minishell.h b/include/minishell.h index 7a573e8..03553a7 100644 --- a/include/minishell.h +++ b/include/minishell.h @@ -6,7 +6,7 @@ /* By: chuhlig <chuhlig@student.42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/06/22 17:14:49 by dkaiser #+# #+# */ -/* Updated: 2025/01/18 19:30:43 by chuhlig ### ########.fr */ +/* Updated: 2025/01/20 16:48:39 by chuhlig ### ########.fr */ /* */ /* ************************************************************************** */ @@ -42,7 +42,7 @@ int eval(t_node *node, t_env **env); char *get_cmd_path(char *cmd, t_env *env, int *return_code); int execute_cmd(t_cmd *cmd, t_env **env); char *format_string(char *str, t_env *env, int is_literal); -int set_return_code(int return_code, t_env **env); +void set_return_code(int return_code, t_env **env); int handle_redirections(t_redirection *redirs); void *error(int err_code, char *err_text, int exit_code, int *ret_code); |
