aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/aarch64/string/bcopy.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/aarch64/string/bcopy.c')
-rw-r--r--lib/libc/aarch64/string/bcopy.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/libc/aarch64/string/bcopy.c b/lib/libc/aarch64/string/bcopy.c
new file mode 100644
index 000000000000..0dee529fb9df
--- /dev/null
+++ b/lib/libc/aarch64/string/bcopy.c
@@ -0,0 +1,14 @@
+/*-
+ * Public domain.
+ */
+
+#include <string.h>
+
+#undef bcopy /* _FORTIFY_SOURCE */
+
+void
+bcopy(const void *src, void *dst, size_t len)
+{
+
+ memmove(dst, src, len);
+}