--- /dev/null
+#include "config.h"
+#ifndef lint
+static char rcsid[] ATTR_UNUSED = "$Id$";
+#endif
+
+/* This part of code is a public domain */
+
+/* CONFORMING TO SVID 3, BSD 4.3, ISO 9899 */
+
+void *memmove(void *dest, const void *src, size_t n)
+{
+char *cdest,*csrc;
+
+ if (dest==src || !n) return;
+ cdest=dest; csrc=src;
+ if (dest<src) {
+ while (n--) *cdest++=*csrc++;
+ } else {
+ cdest+=n; csrc+=n;
+ while (n--) *--cdest=*--csrc;
+ }
+}