From 1ff9504c6b6f4c8bcebb75935b2d999f6c7b018c Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 1 Apr 2020 18:10:56 +0200 Subject: Norm compliant comment format, dirty script for doxygen comments --- src/path.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'src/path.c') diff --git a/src/path.c b/src/path.c index 1136a7c..f1424cc 100644 --- a/src/path.c +++ b/src/path.c @@ -6,25 +6,26 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/27 15:51:01 by cacharle #+# #+# */ -/* Updated: 2020/02/28 12:33:31 by cacharle ### ########.fr */ +/* Updated: 2020/04/01 17:55:28 by charles ### ########.fr */ /* */ /* ************************************************************************** */ -/** +/* ** \file path.c ** \brief Path hash table manipulation */ #include "minishell.h" -/** +/* ** \brief Number of buckets of a path hash table */ #define MS_PATH_HT_SIZE 8192 -/** -** \brief Update `path` with all files in the directory named `dirname`. +/* +** \brief Update `path` with all files +** in the directory named `dirname`. ** \param path Path hash table ** \param dirname directory name ** \return Same path or NULL on error @@ -50,10 +51,11 @@ static t_path st_path_dir_update(t_path path, char *dirname) return (path); } -/** +/* ** \brief Update the path ** \param path Path hash table or NULL to create a new one -** \param path_var PATH environment variable where each directory is separated by a ':' +** \param path_var PATH environment variable where +** each directory is separated by a ':' ** \return The updated/created path hash table or NULL on error */ -- cgit