/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_putstr.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: erey-bet +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/10/05 00:32:38 by erey-bet #+# #+# */ /* Updated: 2022/10/15 23:15:57 by erey-bet ### ########.fr */ /* */ /* ************************************************************************** */ #include "ft_printf.h" int ft_putstr(char *s) { int count; count = 0; if (s == NULL) return (-1); while (*s) { ft_putchar(*s); s++; count++; } return (count); }