projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git]
/
libiberty
/
memmove.c
diff --git
a/libiberty/memmove.c
b/libiberty/memmove.c
index 3ec73208ca7314287455b2ac94461fa2cd252da9..ebda7cbb41caa9d0814658115c299e1d6874e517 100644
(file)
--- a/
libiberty/memmove.c
+++ b/
libiberty/memmove.c
@@
-3,7
+3,8
@@
/*
/*
-@deftypefn Supplemental void* memmove (void *@var{from}, const void *@var{to}, size_t @var{count})
+@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}.
Copies @var{count} bytes from memory area @var{from} to memory area
@var{to}, returning a pointer to @var{to}.
@@
-13,17
+14,12
@@
Copies @var{count} bytes from memory area @var{from} to memory area
*/
#include <ansidecl.h>
*/
#include <ansidecl.h>
-#ifdef __STDC__
#include <stddef.h>
#include <stddef.h>
-#else
-#define size_t unsigned long
-#endif
+
+void bcopy (const void*, void*, size_t);
PTR
PTR
-memmove (s1, s2, n)
- PTR s1;
- const PTR s2;
- size_t n;
+memmove (PTR s1, const PTR s2, size_t n)
{
bcopy (s2, s1, n);
return s1;
{
bcopy (s2, s1, n);
return s1;
This page took
0.023918 seconds
and
4
git commands to generate.