mirror of
https://github.com/reactos/reactos.git
synced 2025-07-05 18:51:22 +00:00
16 lines
239 B
C
16 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;
|
|
}
|