|
Libft
42 Libft library documentation
|
#include <stdlib.h>
Include dependency graph for ft_memcpy.c:Go to the source code of this file.
Functions | |
| void * | ft_memcpy (void *dest, const void *src, size_t n) |
| Copies bytes from source to destination. | |
| void * ft_memcpy | ( | void * | dest, |
| const void * | src, | ||
| size_t | n | ||
| ) |
Copies bytes from source to destination.
Behavior is undefined for overlapping regions; use ft_memmove for overlap.
| dest | Destination memory area. |
| src | Source memory area. |
| n | Number of bytes to copy. |
dest pointer, or NULL when both pointers are NULL. Definition at line 25 of file ft_memcpy.c.
Referenced by ft_strdup(), and ft_strjoin().
Here is the caller graph for this function: