-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_bzero.c
30 lines (27 loc) · 1.16 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
24
25
26
27
28
29
30
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_bzero.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jalfonso <jalfonso@student.42abudhabi.ae> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/06/30 21:31:04 by jalfonso #+# #+# */
/* Updated: 2022/08/09 13:09:45 by jalfonso ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void ft_bzero(void *s, size_t n)
{
ft_memset(s, 0, n);
}
// #include <stdio.h>
// #include <string.h>
//
// int main(void)
// {
// char str[50] = "This is string.h library function";
// printf("%s\n", str);
// ft_bzero(str, 0);
// printf("%s\n", str);
// return (0);
// }