1
Files
Tom CHIVERT 1c9092caaf Norminette
2019-09-04 05:17:54 +02:00

28 lines
1019 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strclr.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tchivert <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/04/07 12:13:19 by tchivert #+# #+# */
/* Updated: 2019/09/04 05:13:31 by tchivert ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void ft_strclr(char *s)
{
int i;
i = 0;
if (!s)
return ;
while (s[i])
{
s[i] = '\0';
i++;
}
}