#include <string.h>
#include "ft_mem.h"
Go to the source code of this file.
|
| void * | ft_memmove (void *dst, const void *src, size_t n) |
| |
◆ ft_memmove()
| void* ft_memmove |
( |
void * |
dst, |
|
|
const void * |
src, |
|
|
size_t |
n |
|
) |
| |
Definition at line 16 of file ft_memmove.c.
18 unsigned char *p_c_dst;
19 unsigned char *p_c_src;
20 signed char direction;
22 if (src == dst || n == 0)
24 p_c_dst = (
unsigned char *)dst;
25 p_c_src = (
unsigned char *)src;