aboutsummaryrefslogtreecommitdiff
path: root/lib/memcpy.c
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2022-11-08 10:46:07 +0200
committeraqua <aqua@iserlohn-fortress.net>2022-11-08 14:56:42 +0200
commit527a5ea7a896a9b00e0563abbbed7771a398971b (patch)
tree81dcbe1b95c88bea447dfcc32d6fed46835713bb /lib/memcpy.c
parentCapture ps2 mouse packets (diff)
downloadkernel-527a5ea7a896a9b00e0563abbbed7771a398971b.tar.xz
Add python-sphinx docs
Diffstat (limited to 'lib/memcpy.c')
-rw-r--r--lib/memcpy.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/memcpy.c b/lib/memcpy.c
deleted file mode 100644
index 059738f..0000000
--- a/lib/memcpy.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * The memcpy() function copies n bytes from memory area src to memory area dest. The memory areas must not overlap.
- * @param dest
- * @param src
- * @param n
- * @return
- */
-void *
-memcpy(void *restrict dest, const void *restrict src, long unsigned n)
-{
- char *pDest = (char *)dest;
- const char *pSrc = (const char *)src;
-
- while (n) {
- *(pDest++) = *(pSrc++);
- --n;
- }
-
- return dest;
-}