42sh 1.0.0
Create a shell in C
Loading...
Searching...
No Matches
my_memmove.c File Reference

The file containing the my_memmove function. More...

#include "mymemory.h"

Functions

void * my_memmove (void *destination, const void *source, size_t size)
 Moves bytes (size) from memory area (source) to memory area (destination)
 

Detailed Description

The file containing the my_memmove function.

Author
Nicolas TORO

Function Documentation

◆ my_memmove()

void * my_memmove ( void * destination,
const void * source,
size_t size )

Moves bytes (size) from memory area (source) to memory area (destination)

Note
Did the same as my_memcpy
Parameters
destinationThe destination memory area
sourceThe source memory area
sizeThe number of bytes to copy
Returns
void * A pointer to the destination memory area
Author
Nicolas TORO