-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_bzero.c
19 lines (17 loc) · 1.03 KB
/
ft_bzero.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_bzero.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: gpiccion <gpiccion@student.42wolfsburg. +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/11/18 00:57:37 by gpiccion #+# #+# */
/* Updated: 2021/11/18 00:57:37 by gpiccion ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
// Sets the first 'n' bytes of the area starting at 's' to zero.
void ft_bzero(void *s, size_t n)
{
ft_memset(s, 0, n);
}