libft
Loading...
Searching...
No Matches
ft_memset.c File Reference

Go to the source code of this file.

Functions

void * ft_memset (void *b, int c, int len)
 Fill memory area with a contant byte.
 

Function Documentation

◆ ft_memset()

void * ft_memset ( void *  b,
int  c,
int  len 
)

Fill memory area with a contant byte.

Fills len number of bytes of memory with c.

Parameters
bMemory address
cValue to set the bytes to
lenNumber of bytes
Returns
void* Address of b

Definition at line 13 of file ft_memset.c.