summaryrefslogtreecommitdiffstats
path: root/src/ft_m_prompt.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-20 16:48:19 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-20 16:48:19 +0200
commit86382acdb6cc8a94f98f4d8fe8d60f24b13fdebe (patch)
treee9c89ec16372d95bf10e96e6707d2258b0ea1b68 /src/ft_m_prompt.c
parentUpdate (diff)
download42-minishell-86382acdb6cc8a94f98f4d8fe8d60f24b13fdebe.tar.gz
42-minishell-86382acdb6cc8a94f98f4d8fe8d60f24b13fdebe.tar.bz2
42-minishell-86382acdb6cc8a94f98f4d8fe8d60f24b13fdebe.tar.xz
42-minishell-86382acdb6cc8a94f98f4d8fe8d60f24b13fdebe.tar.zst
42-minishell-86382acdb6cc8a94f98f4d8fe8d60f24b13fdebe.zip
Good
Diffstat (limited to '')
-rw-r--r--src/ft_m_prompt.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/ft_m_prompt.c b/src/ft_m_prompt.c
new file mode 100644
index 0000000..5d0f80c
--- /dev/null
+++ b/src/ft_m_prompt.c
@@ -0,0 +1,21 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* ft_m_prompt.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 <libft.h>
+#include "ft_m_prompt.h"
+#include "ft_s_struct.h"
+
+void
+ ft_m_prompt(t_msh *msh)
+{
+ ft_printf("%s", msh->ps_one);
+}