summaryrefslogtreecommitdiffstats
path: root/src/u_vars_next.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/u_vars_next.c30
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;
+}