Corewar documentation 1.0.0
Loading...
Searching...
No Matches
my_memset.c File Reference

The file containing the my_memset function. More...

#include "mymemory.h"

Functions

void * my_memset (void *pointer, int value, size_t size)
 Fill bytes (size) of memory area (pointer) with a value (value)
 

Detailed Description

The file containing the my_memset function.

Author
Nicolas TORO

Function Documentation

◆ my_memset()

void * my_memset ( void * pointer,
int value,
size_t size )

Fill bytes (size) of memory area (pointer) with a value (value)

Parameters
pointerThe memory area to fill
valueThe value to fill the memory area with
sizeThe number of bytes to fill
Returns
void * A pointer to the memory area filled with (value)
Author
Nicolas TORO