diff options
Diffstat (limited to '')
-rw-r--r-- | src/ft_b_echo.c | 28 |
1 files changed, 28 insertions, 0 deletions
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 <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 <stdint.h> +#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); +} |