repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
[official-gcc.git]
/
libgcc
/
memcpy.c
blob
58b1e405627aaac66d1973be344aed72cdeddc21
1
/* Public domain. */
2
#include <stddef.h>
3
4
void
*
5
memcpy
(
void
*
dest
,
const void
*
src
,
size_t
len
)
6
{
7
char
*
d
=
dest
;
8
const char
*
s
=
src
;
9
while
(
len
--)
10
*
d
++ = *
s
++;
11
return
dest
;
12
}