summaryrefslogtreecommitdiff
path: root/missing/memmove.c
diff options
context:
space:
mode:
author(no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-02-09 06:08:24 +0000
committer(no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-02-09 06:08:24 +0000
commitddbfc05cf0b29bab5eda555ed37c45563a91af14 (patch)
tree2cff3eaf0722310b60eae38fbcebdfa7ad7c172a /missing/memmove.c
parent62e648e148b3cb9f96dcce808c55c02b7ccb4486 (diff)
This commit was manufactured by cvs2svn to create tag
'v1_3_1_990209'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_3_1_990209@395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'missing/memmove.c')
-rw-r--r--missing/memmove.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/missing/memmove.c b/missing/memmove.c
deleted file mode 100644
index 09e64702b6..0000000000
--- a/missing/memmove.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * memmove --- move memories.
- *
- * We supply this routine for those systems that aren't standard yet.
- */
-
-char *
-memmove (dst, src, n)
- char *dst, *src;
- int n;
-{
- char *ret = dst;
-
- if (src < dst) {
- src += n;
- dst += n;
- while (n--)
- *--dst = *--src;
- }
- else if (dst < src)
- while (n--)
- *dst++ = *src++;
- return ret;
-}