aboutsummaryrefslogtreecommitdiff
path: root/include/env.h
diff options
context:
space:
mode:
authorChristopher Uhlig2025-01-20 17:34:02 +0100
committerChristopher Uhlig2025-01-20 17:34:02 +0100
commit634a3b84b31cbcc5c0c665338e1ef1eb49f25e5d (patch)
treea30f4d0c47a636c822e97efc2678b61d3e2c3dad /include/env.h
parent8f5abcdb257393a2e576fe382835e8e060662834 (diff)
downloadminishell-634a3b84b31cbcc5c0c665338e1ef1eb49f25e5d.tar.gz
minishell-634a3b84b31cbcc5c0c665338e1ef1eb49f25e5d.zip
fixed a bunch of stuff
Diffstat (limited to 'include/env.h')
-rw-r--r--include/env.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/env.h b/include/env.h
index 3fc83b7..56b50b5 100644
--- a/include/env.h
+++ b/include/env.h
@@ -6,7 +6,7 @@
/* By: chuhlig <chuhlig@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/08/08 16:53:39 by dkaiser #+# #+# */
-/* Updated: 2025/01/18 18:43:07 by chuhlig ### ########.fr */
+/* Updated: 2025/01/20 16:48:57 by chuhlig ### ########.fr */
/* */
/* ************************************************************************** */
@@ -30,7 +30,7 @@ char **env_to_strlst(t_env *env);
void update_oldpwd(t_env **env);
void update_pwd(t_env **env);
int unset(char **av, t_env **env);
-int export(char **av, t_env **env);
+int export(char **av, t_env **env, int f);
int echo(char **av);
int pwd(t_env *env);
int cd(t_env **env, char **args);
@@ -38,5 +38,6 @@ int ft_env(t_env *env);
int builtin_exit(char **args, t_env **env);
t_env *env_new(char *name);
t_env *check_existing(t_env *env, char *av);
+int check_flag(int f);
#endif \ No newline at end of file