summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-08-17 18:51:39 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-08-17 18:51:39 +0200
commit2a85044cd14e233015d323875749bf655ca3cb31 (patch)
treebe1531960438fe3fd291e161108ba49d0d332003 /src
parentTODO update (diff)
download42-minishell-2a85044cd14e233015d323875749bf655ca3cb31.tar.gz
42-minishell-2a85044cd14e233015d323875749bf655ca3cb31.tar.bz2
42-minishell-2a85044cd14e233015d323875749bf655ca3cb31.tar.xz
42-minishell-2a85044cd14e233015d323875749bf655ca3cb31.tar.zst
42-minishell-2a85044cd14e233015d323875749bf655ca3cb31.zip
new files
Diffstat (limited to 'src')
-rw-r--r--src/m_minishell.c1
-rw-r--r--src/m_mshrc.c18
-rw-r--r--src/m_mshrc.h20
3 files changed, 39 insertions, 0 deletions
diff --git a/src/m_minishell.c b/src/m_minishell.c
index a538041..7a381ee 100644
--- a/src/m_minishell.c
+++ b/src/m_minishell.c
@@ -35,6 +35,7 @@ int
ft_dprintf(2, "%s\n", strerror(errno));
return (FT_RET_ALLOC);
}
+ m_source_mshrc(msh);
ret = m_argv(argc, argv, msh);
s_destroy(msh);
return (ret);
diff --git a/src/m_mshrc.c b/src/m_mshrc.c
new file mode 100644
index 0000000..f05f44d
--- /dev/null
+++ b/src/m_mshrc.c
@@ -0,0 +1,18 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* m_mshrc.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
+ m_source_mshrc(t_msh *msh)
+{
+}
diff --git a/src/m_mshrc.h b/src/m_mshrc.h
new file mode 100644
index 0000000..325b742
--- /dev/null
+++ b/src/m_mshrc.h
@@ -0,0 +1,20 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* m_mshrc.h :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* 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 */
+/* */
+/* ************************************************************************** */
+
+#ifndef M_MSHRC_H
+#define M_MSHRC_H
+
+#include "s_struct.h"
+
+void m_source_mshrc(t_msh *msh);
+
+#endif