Gitiles
Code Review
Sign In
review.coreboot.org
/
coreboot
/
ed7bab8b0dabca6a3d8936b7b868e547c884006c
/
.
/
src
/
lib
/
memcpy.c
blob: 16db67766dc0144ac0a1a0667309a69ec65f5076 [
file
] [
log
] [
blame
]
#include
<string.h>
void
*
memcpy
(
void
*
vdest
,
const
void
*
vsrc
,
size_t
bytes
)
{
const
char
*
src
=
vsrc
;
char
*
dest
=
vdest
;
int
i
;
for
(
i
=
0
;
i
<
bytes
;
i
++)
dest
[
i
]
=
src
[
i
];
return
vdest
;
}