diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-04-01 18:10:56 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-04-01 18:10:56 +0200 |
| commit | 1ff9504c6b6f4c8bcebb75935b2d999f6c7b018c (patch) | |
| tree | 8aae342f45c24169f0e9da55551e1a2ddca7503f /src/path.c | |
| parent | 2eb59ee61e49b60472f82c000dd4f3536bd1987c (diff) | |
| download | minishell-1ff9504c6b6f4c8bcebb75935b2d999f6c7b018c.tar.gz minishell-1ff9504c6b6f4c8bcebb75935b2d999f6c7b018c.tar.bz2 minishell-1ff9504c6b6f4c8bcebb75935b2d999f6c7b018c.zip | |
Norm compliant comment format, dirty script for doxygen comments
Diffstat (limited to 'src/path.c')
| -rw-r--r-- | src/path.c | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -6,25 +6,26 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* 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 */ |
