aboutsummaryrefslogtreecommitdiff
path: root/libiberty/memcpy.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/memcpy.c
parent4e6667ac4f987fecbcf576513c70485a4718712e (diff)
downloadgdb-39423523167c47f72822dbb9eb3ab4a0dfeafe68.zip
gdb-39423523167c47f72822dbb9eb3ab4a0dfeafe68.tar.gz
gdb-39423523167c47f72822dbb9eb3ab4a0dfeafe68.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/memcpy.c')
-rw-r--r--libiberty/memcpy.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/libiberty/memcpy.c b/libiberty/memcpy.c
index 707a9f5..0f2bac7 100644
--- a/libiberty/memcpy.c
+++ b/libiberty/memcpy.c
@@ -2,15 +2,14 @@
This function is in the public domain. */
/*
-NAME
- memcpy -- copy memory regions of arbitary length
-SYNOPSIS
- void* memcpy (void *out, const void *in, size_t n);
+@deftypefn Supplemental void* memcpy (void *@var{out}, const void *@var{in}, size_t @var{length})
+
+Copies @var{length} bytes from memory region @var{in} to region
+@var{out}. Returns a pointer to @var{out}.
+
+@end deftypefn
-DESCRIPTION
- Copy LENGTH bytes from memory region pointed to by IN to memory
- region pointed to by OUT.
*/
#include <ansidecl.h>