-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_bzero.c
More file actions
20 lines (17 loc) · 1.03 KB
/
ft_bzero.c
File metadata and controls
20 lines (17 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_bzero.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ebarbash <ebarbash@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/10/26 12:29:21 by ebarbash #+# #+# */
/* Updated: 2024/10/26 12:32:09 by ebarbash ### ########.fr */
/* */
/* ************************************************************************** */
#include <stdlib.h>
void *ft_memset(void *s, int c, size_t n);
void ft_bzero(void *s, size_t n) // overwrite firsn n characters with '\0'
{
ft_memset(s, 0, n);
}