From fe24a254415b38952eeef8f0ca4e830549360850 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 20 Apr 2020 22:24:25 +0200 Subject: Pretty good start --- src/ft_b_echo.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/ft_b_echo.c (limited to 'src/ft_b_echo.c') diff --git a/src/ft_b_echo.c b/src/ft_b_echo.c new file mode 100644 index 0000000..f7b83a2 --- /dev/null +++ b/src/ft_b_echo.c @@ -0,0 +1,28 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ft_b_echo.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:19:27 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:19:29 by rbousset ### ########lyon.fr */ +/* */ +/* ************************************************************************** */ + +#include +#include +#include "ft_s_struct.h" + +int32_t + ft_b_echo(char *args[], + t_msh *msh) +{ + (void)msh; + while (*args) + { + ft_printf("%s\n", *args); + args++; + } + return (0); +} -- cgit v1.2.3