aboutsummaryrefslogtreecommitdiff
path: root/src/builtin/env.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/builtin/env.c')
-rw-r--r--src/builtin/env.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/builtin/env.c b/src/builtin/env.c
index 5854828..6b430c4 100644
--- a/src/builtin/env.c
+++ b/src/builtin/env.c
@@ -6,7 +6,7 @@
/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/04/01 17:10:32 by charles #+# #+# */
-/* Updated: 2020/04/01 22:25:43 by charles ### ########.fr */
+/* Updated: 2020/09/13 20:23:59 by charles ### ########.fr */
/* */
/* ************************************************************************** */
@@ -17,6 +17,13 @@
#include "minishell.h"
+/*
+** \brief Print the environment variables (one on each line)
+** \param argv arguments
+** \param env environment
+** \return a status code or EVAL_FATAL on fatal error
+*/
+
int builtin_env(char **argv, t_env env)
{
(void)argv;