-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_strclr.c
More file actions
24 lines (21 loc) · 1.03 KB
/
ft_strclr.c
File metadata and controls
24 lines (21 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strclr.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: bnoufel <bnoufel@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/08 16:05:15 by bnoufel #+# #+# */
/* Updated: 2020/02/08 19:49:38 by bnoufel ### ########.fr */
/* */
/* ************************************************************************** */
#include "str.h"
#include "mem.h"
/*
** @param char *s
** The ft_strclr() cleans by putting '\0'
*/
void ft_strclr(char *s)
{
ft_bzero(s, ft_strlen(s));
}