aboutsummaryrefslogtreecommitdiffstats
path: root/ft_memcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'ft_memcpy.c')
-rw-r--r--ft_memcpy.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/ft_memcpy.c b/ft_memcpy.c
deleted file mode 100644
index 26c4f76..0000000
--- a/ft_memcpy.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#include "libft.h"
-
-void *
-ft_memcpy (void *dest, const void *src, size_t n)
-{
- unsigned char *dst_bytes;
- const unsigned char *src_bytes;
-
- if (!dest && !src)
- return (dest);
- dst_bytes = dest;
- src_bytes = src;
- while (n--)
- *dst_bytes++ = *src_bytes++;
- return (dest);
-}