From 9a2b208985ac7d4644c718ada74770b98eeb4598 Mon Sep 17 00:00:00 2001 From: Charles Date: Mon, 29 Jul 2019 16:56:27 +0200 Subject: part 2 done (except putchar and putstr unicode) --- ft_putstr.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 ft_putstr.c (limited to 'ft_putstr.c') diff --git a/ft_putstr.c b/ft_putstr.c new file mode 100644 index 0000000..1bfe06c --- /dev/null +++ b/ft_putstr.c @@ -0,0 +1,7 @@ +#include + +void ft_putstr(char const *s) +{ + while (*s) + write(STDOUT_FILENO, s++, 1); +} -- cgit