-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_strclr.c
20 lines (19 loc) · 980 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: ewilliam <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/11/29 17:40:08 by ewilliam #+# #+# */
/* Updated: 2016/12/05 21:51:39 by ewilliam ### ########.fr */
/* */
/* ************************************************************************** */
void ft_strclr(char *s)
{
if (s && *s)
{
*s = '\0';
return (ft_strclr(++s));
}
}