aboutsummaryrefslogtreecommitdiff
path: root/src/env.c
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-04-01 18:10:56 +0200
committerCharles <sircharlesaze@gmail.com>2020-04-01 18:10:56 +0200
commit1ff9504c6b6f4c8bcebb75935b2d999f6c7b018c (patch)
tree8aae342f45c24169f0e9da55551e1a2ddca7503f /src/env.c
parent2eb59ee61e49b60472f82c000dd4f3536bd1987c (diff)
downloadminishell-1ff9504c6b6f4c8bcebb75935b2d999f6c7b018c.tar.gz
minishell-1ff9504c6b6f4c8bcebb75935b2d999f6c7b018c.tar.bz2
minishell-1ff9504c6b6f4c8bcebb75935b2d999f6c7b018c.zip
Norm compliant comment format, dirty script for doxygen comments
Diffstat (limited to 'src/env.c')
-rw-r--r--src/env.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/env.c b/src/env.c
index 00fbaaf..fc26876 100644
--- a/src/env.c
+++ b/src/env.c
@@ -1,29 +1,29 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
-/* environment.c :+: :+: :+: */
+/* env.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/28 09:21:24 by cacharle #+# #+# */
-/* Updated: 2020/02/28 12:30:55 by cacharle ### ########.fr */
+/* Updated: 2020/04/01 17:03:50 by charles ### ########.fr */
/* */
/* ************************************************************************** */
-/**
+/*
** \file env.c
** \brief Environment hash table manipulation
*/
#include "minishell.h"
-/**
+/*
** \brief Number of buckets of an environment hash table
*/
#define MS_ENV_HT_SIZE 2048
-/**
+/*
** \brief Convert array of string to environment hash table
** \param envp array of string (each in the format `name=value`)
** \return Environment hash table or NULL on error
@@ -57,7 +57,7 @@ t_env env_from_array(char **envp)
return (env);
}
-/**
+/*
** \brief Convert environment to array of string
** \param env Environment hash table
** \return Array of string on NULL on error
@@ -66,6 +66,5 @@ t_env env_from_array(char **envp)
char **env_to_array(t_env env)
{
(void)env;
- // need ft_htlen
return (NULL);
}