-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_strclr.c
21 lines (19 loc) · 983 Bytes
/
ft_strclr.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strclr.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tmoska <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/11/17 22:41:50 by tmoska #+# #+# */
/* Updated: 2016/11/17 22:42:26 by tmoska ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void ft_strclr(char *s)
{
if (s)
{
ft_bzero(s, ft_strlen(s));
}
}