-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_bzero.c
More file actions
21 lines (18 loc) · 1.05 KB
/
ft_bzero.c
File metadata and controls
21 lines (18 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_bzero.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: crigonza <crigonza@student.42malaga.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/04/20 15:09:53 by crigonza #+# #+# */
/* Updated: 2022/04/28 17:18:46 by crigonza ### ########.fr */
/* */
/* ************************************************************************** */
/* Erases the data in the n bytes of the memory starting at the
location pointed to by s. */
#include "libft.h"
void ft_bzero(void *s, size_t n)
{
ft_memset(s, '\0', n);
}