-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_bzero.c
23 lines (20 loc) · 1.08 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: aviholai <aviholai@student.hive.fi> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/12/21 14:20:38 by aviholai #+# #+# */
/* Updated: 2022/02/07 12:56:56 by aviholai ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
/*
** 'Bzero()' (byte zero) writes an amount of 'n' zeroed bytes to the string 's'.
** See function 'memset()' for further information.
*/
void ft_bzero(void *s, size_t n)
{
ft_memset(s, 0, n);
}