libft/ft_strclr.c
tanguy mazé 871545305c ft_strclr
2018-04-07 00:39:55 +02:00

23 lines
993 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strclr.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/04/06 23:27:33 by tmaze #+# #+# */
/* Updated: 2018/04/06 23:34:44 by tmaze ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void strclr(char *s)
{
int i;
i = 0;
while (s[i])
s[i++] = '\0';
}