aboutsummaryrefslogtreecommitdiff
path: root/libiberty/memcpy.c
diff options
context:
space:
mode:
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>