mirror of
https://github.com/reactos/reactos.git
synced 2025-07-05 12:11:23 +00:00
17 lines
239 B
C
17 lines
239 B
C
![]() |
/*
|
||
|
* $Id$
|
||
|
*/
|
||
|
|
||
|
#include <string.h>
|
||
|
|
||
|
void* memcpy(void* to, const void* from, size_t count)
|
||
|
{
|
||
|
register char *f = (char *)from;
|
||
|
register char *t = (char *)to;
|
||
|
register int i = count;
|
||
|
|
||
|
while (i-- > 0)
|
||
|
*t++ = *f++;
|
||
|
return to;
|
||
|
}
|