-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_bzero.c
More file actions
25 lines (23 loc) · 1.14 KB
/
ft_bzero.c
File metadata and controls
25 lines (23 loc) · 1.14 KB
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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_bzero.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jowagner <jowagner@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/12 14:01:33 by jowagner #+# #+# */
/* Updated: 2024/12/12 19:48:12 by jowagner ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
/**
* @brief Sets a block of memory to zero.
*
* @param s The memory area to be set to zero.
* @param n The number of bytes to set to zero.
* @return Nothing. The memory is modified directly.
*/
void ft_bzero(void *s, size_t n)
{
ft_memset(s, 0, n);
}