[FIX] export without arg

This commit is contained in:
joris schaft 2024-07-03 19:01:35 +02:00
parent 5b313a1f5c
commit 668bd06c17
4 changed files with 53 additions and 9 deletions

View file

@ -6,7 +6,7 @@
/* By: jschaft <cecile.schaft@orange.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/23 14:15:12 by mcolonna #+# #+# */
/* Updated: 2024/06/28 15:26:29 by mcolonna ### ########.fr */
/* Updated: 2024/07/03 18:59:22 by jschaft ### ########.fr */
/* */
/* ************************************************************************** */
@ -27,6 +27,9 @@ int echo_builtin(t_env *env, t_call call);
// Execute cd builtin
int cd_builtin(t_env *env, t_call call);
//Execute builtin with no arguments
int export_print_builtin(char *const *envp);
// Execute export builtin
int export_builtin(t_env *env, t_call call);