diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-27 21:19:29 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-27 21:19:29 +0200 |
commit | 004eef9a3fd3403d6634ca658336d9a1e9766685 (patch) | |
tree | 571cd00a9719c9174f0e5ad09f57585a6bd87e86 /src/u_vars_next.c | |
parent | I couldn't see shit (diff) | |
download | 42-minishell-004eef9a3fd3403d6634ca658336d9a1e9766685.tar.gz 42-minishell-004eef9a3fd3403d6634ca658336d9a1e9766685.tar.bz2 42-minishell-004eef9a3fd3403d6634ca658336d9a1e9766685.tar.xz 42-minishell-004eef9a3fd3403d6634ca658336d9a1e9766685.tar.zst 42-minishell-004eef9a3fd3403d6634ca658336d9a1e9766685.zip |
In progress
Diffstat (limited to '')
-rw-r--r-- | src/u_vars_next.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/u_vars_next.c b/src/u_vars_next.c new file mode 100644 index 0000000..5626376 --- /dev/null +++ b/src/u_vars_next.c @@ -0,0 +1,30 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* u_vars_next.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:19:27 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:19:29 by rbousset ### ########lyon.fr */ +/* */ +/* ************************************************************************** */ + +#include "s_struct.h" +/* +** void +** subst_var_value(const char varname[], t_msh *msh); +** +** DESCRIPTION +** The subst_var_value() changes the msh->envp value +** of the variable varname[]. If varname[] wasn't found +** in msh->envp, varname[] is searched in msh->vars. +*/ + +void + subst_var_value(const char varname[], + t_msh *msh) +{ + (void)varname; + (void)msh; +} |