Gitiles
Code Review
Sign In
review.coreboot.org
/
coreboot
/
3eeefba6a0b1be97b5de70ab9d485f8383472f15
/
.
/
src
/
lib
/
memcpy.c
blob: 1053a531c8c3e846a90154901c37de05d416fda8 [
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
<
(
int
)
bytes
;
i
++)
dest
[
i
]
=
src
[
i
];
return
vdest
;
}