From c51d31b8b751585153500729c25ae2f02d179e45 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Sun, 13 Sep 2020 21:01:18 +0200 Subject: Refactoring eval file structure, Added comment to builtin --- src/builtin/env.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/builtin/env.c') 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 +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* 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; -- cgit