Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.0
/
gcc
/
config
/
memcpy.c
blob: 58b1e405627aaac66d1973be344aed72cdeddc21 [
file
] [
log
] [
blame
]
/* Public domain. */
#include
<stddef.h>
void
*
memcpy
(
void
*
dest
,
const
void
*
src
,
size_t
len
)
{
char
*
d
=
dest
;
const
char
*
s
=
src
;
while
(
len
--)
*
d
++
=
*
s
++;
return
dest
;
}