-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_strclr.c
More file actions
19 lines (17 loc) · 986 Bytes
/
ft_strclr.c
File metadata and controls
19 lines (17 loc) · 986 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strclr.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: loram <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/09/16 22:05:17 by loram #+# #+# */
/* Updated: 2019/09/17 17:26:54 by loram ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void ft_strclr(char *s)
{
if (s != NULL)
ft_bzero(s, ft_strlen(s));
}