23 lines
978 B
C
23 lines
978 B
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_strclr.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: scebula <scebula@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2015/11/26 10:33:01 by scebula #+# #+# */
|
|
/* Updated: 2015/12/04 00:56:32 by scebula ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "libft.h"
|
|
|
|
void ft_strclr(char *s)
|
|
{
|
|
while (*s)
|
|
{
|
|
*s = '\0';
|
|
s++;
|
|
}
|
|
}
|