From 2eb59ee61e49b60472f82c000dd4f3536bd1987c Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 1 Apr 2020 15:55:57 +0200 Subject: Added builtin support in command eval, Refactoring eval/builtin function, Added doc --- src/builtin/export.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/builtin/export.c') diff --git a/src/builtin/export.c b/src/builtin/export.c index c0839b9..1b148a9 100644 --- a/src/builtin/export.c +++ b/src/builtin/export.c @@ -5,7 +5,11 @@ #include "minishell.h" -/* int export(t_env env, char **argv) */ -/* { */ -/* return (0); */ -/* } */ +int builtin_export(char **argv, t_env env) +{ + (void)argv; + (void)env; + /* if (ft_htset(env, ) == NULL) */ + /* return (-1); */ + return (0); +} -- cgit