Libft
42 Libft library documentation
Loading...
Searching...
No Matches
ft_bzero.c File Reference
+ Include dependency graph for ft_bzero.c:

Go to the source code of this file.

Functions

void ft_bzero (void *void_ptr, size_t n)
 Sets a memory area to zero bytes.
 

Function Documentation

◆ ft_bzero()

void ft_bzero ( void *  void_ptr,
size_t  n 
)

Sets a memory area to zero bytes.

Parameters
void_ptrPointer to the memory block.
nNumber of bytes to zero.

Definition at line 21 of file ft_bzero.c.

22{
23 ft_memset(void_ptr, 0, n);
24}
void * ft_memset(void *s, int c, size_t len)
Fills a memory area with a byte value.
Definition ft_memset.c:23

References ft_memset().

+ Here is the call graph for this function: