summaryrefslogtreecommitdiff
path: root/libiberty/memmove.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-09-26 18:45:50 +0000
committerDJ Delorie <dj@redhat.com>2001-09-26 18:45:50 +0000
commit39423523167c47f72822dbb9eb3ab4a0dfeafe68 (patch)
treeb437d1ed0d3cb7e6a0a67e5dd30ef19abbedb95e /libiberty/memmove.c
parent4e6667ac4f987fecbcf576513c70485a4718712e (diff)
downloadbinutils-gdb-39423523167c47f72822dbb9eb3ab4a0dfeafe68.tar.gz
merge from gcc
Diffstat (limited to 'libiberty/memmove.c')
-rw-r--r--libiberty/memmove.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/libiberty/memmove.c b/libiberty/memmove.c
index 176c326ef2b..3ec73208ca7 100644
--- a/libiberty/memmove.c
+++ b/libiberty/memmove.c
@@ -1,5 +1,17 @@
/* Wrapper to implement ANSI C's memmove using BSD's bcopy. */
/* This function is in the public domain. --Per Bothner. */
+
+/*
+
+@deftypefn Supplemental void* memmove (void *@var{from}, const void *@var{to}, size_t @var{count})
+
+Copies @var{count} bytes from memory area @var{from} to memory area
+@var{to}, returning a pointer to @var{to}.
+
+@end deftypefn
+
+*/
+
#include <ansidecl.h>
#ifdef __STDC__
#include <stddef.h>