/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_putnchar.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: joelecle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/14 17:07:03 by joelecle #+# #+# */ /* Updated: 2020/02/14 17:07:03 by joelecle ### ########lyon.fr */ /* */ /* ************************************************************************** */ #include #include int ft_putnchar(int c, const size_t n) { size_t i; i = 0; while (i < n) { ft_putchar(c); i++; } return (i); }