-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathft_strclr.c
19 lines (17 loc) · 981 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: smbaabu <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/02/22 20:49:40 by smbaabu #+# #+# */
/* Updated: 2019/02/26 20:10:58 by smbaabu ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void ft_strclr(char *s)
{
if (s)
ft_memset(s, 0, ft_strlen(s));
}