-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_bzero.c
23 lines (20 loc) · 1.1 KB
/
ft_bzero.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_bzero.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: lsauvage <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/11/15 16:42:04 by lsauvage #+# #+# */
/* Updated: 2018/01/04 14:45:43 by lsauvage ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
/*
** The bzero function sets the first n bytes of the area starting at s to zero.
** La fonction bzero met a 0 les n 1ers octets du bloc pointe par s
*/
void ft_bzero(void *s, size_t n)
{
ft_memset(s, 0, n);
}