aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/std/memcpy.c
diff options
context:
space:
mode:
authorEmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com>2024-01-07 03:19:28 -0500
committerEmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com>2024-01-07 03:19:28 -0500
commitbb59107bd06a6a252b3743f17e55e3c17896db35 (patch)
treecb8ad8bbd25fe7d5db6cf734c33f4777843876b9 /kernel/std/memcpy.c
parentb7b97d32cbb6fbc928078ebe3a00714cbbebea86 (diff)
moved kernel libc stuff to libs/libck/
Diffstat (limited to 'kernel/std/memcpy.c')
-rw-r--r--kernel/std/memcpy.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/kernel/std/memcpy.c b/kernel/std/memcpy.c
deleted file mode 100644
index 7e09be7..0000000
--- a/kernel/std/memcpy.c
+++ /dev/null
@@ -1,9 +0,0 @@
-#include <string.h>
-
-void* memcpy(void* restrict dstptr, const void* restrict srcptr, size_t size) {
- unsigned char* dst = (unsigned char*) dstptr;
- const unsigned char* src = (const unsigned char*) srcptr;
- for (size_t i=0; i < size; i++)
- dst[i] = src[i];
- return dstptr;
-} \ No newline at end of file