summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'string.c')
-rw-r--r--string.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/string.c b/string.c
index cb890ee..b356895 100644
--- a/string.c
+++ b/string.c
@@ -44,6 +44,12 @@ memmove(void *dst, const void *src, uint n)
return dst;
}
+void*
+memcpy(void *dst, const void *src, uint n)
+{
+ return memmove(dst, src, n);
+}
+
int
strncmp(const char *p, const char *q, uint n)
{