Libft
42 Libft library documentation
Loading...
Searching...
No Matches
ft_bzero.c
Go to the documentation of this file.
1/* ************************************************************************** */
2/* */
3/* ::: :::::::: */
4/* ft_bzero.c :+: :+: :+: */
5/* +:+ +:+ +:+ */
6/* By: raphalme <raphalme@student.42.fr> +#+ +:+ +#+ */
7/* +#+#+#+#+#+ +#+ */
8/* Created: 2025/12/29 18:41:00 by raphalme #+# #+# */
9/* Updated: 2026/04/14 11:00:51 by raphalme ### ########.fr */
10/* */
11/* ************************************************************************** */
12
13#include "../includes/libft.h"
14
21void ft_bzero(void *void_ptr, size_t n)
22{
23 ft_memset(void_ptr, 0, n);
24}
void ft_bzero(void *void_ptr, size_t n)
Sets a memory area to zero bytes.
Definition ft_bzero.c:21
void * ft_memset(void *s, int c, size_t len)
Fills a memory area with a byte value.
Definition ft_memset.c:23