libft
Loading...
Searching...
No Matches
ft_memcpy.c File Reference
#include "libft.h"

Go to the source code of this file.

Functions

void * ft_memcpy (void *dst, const void *src, size_t n)
 Copies memory to destination.
 

Function Documentation

◆ ft_memcpy()

void * ft_memcpy ( void *  dst,
const void *  src,
size_t  n 
)

Copies memory to destination.

Copies n bytes of memory from source to destination.

Parameters
dstAddress of the destination
srcAddress of the source
Returns
void* Address of destination
Attention
Does not handle overlapping.

Definition at line 15 of file ft_memcpy.c.