/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_strclr.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/10/07 10:15:18 by cacharle #+# #+# */ /* Updated: 2019/11/20 02:02:02 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" void ft_strclr(char *s) { if (s == NULL) return ; while (*s) *s++ = '\0'; }