-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_strclr.c
19 lines (17 loc) · 975 Bytes
/
ft_strclr.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strclr.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rnowell <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/09/27 19:47:36 by rnowell #+# #+# */
/* Updated: 2016/09/27 19:47:38 by rnowell ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void ft_strclr(char *s)
{
while (*s != '\0')
*s++ = '\0';
}