-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_strclr.c
20 lines (18 loc) · 1003 Bytes
/
ft_strclr.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strclr.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rgaia <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/09/25 09:16:20 by rgaia #+# #+# */
/* Updated: 2017/09/29 21:39:18 by rgaia ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void ft_strclr(char *s)
{
if (s == NULL)
return ;
ft_bzero((void *)s, ft_strlen(s));
}