From 8b6e91bdb56bc01a588718472546f2a88e750b48 Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 19 Jul 2019 07:04:04 +0200 Subject: c10 done?, c11 moulinetted (ex04, ex06 need correction) --- c10/ex02/helper.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'c10/ex02/helper.c') diff --git a/c10/ex02/helper.c b/c10/ex02/helper.c index e52a643..fe00813 100644 --- a/c10/ex02/helper.c +++ b/c10/ex02/helper.c @@ -6,13 +6,23 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/07/16 17:55:00 by cacharle #+# #+# */ -/* Updated: 2019/07/17 13:09:38 by cacharle ### ########.fr */ +/* Updated: 2019/07/18 07:57:54 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ #include #include "include.h" +int ft_putstr(char *str) +{ + int status; + + status = 0; + while (*str) + status = write(STDOUT_FILENO, str++, 1); + return (status); +} + int ft_strlen(char *str) { int counter; -- cgit