home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_02_05
/
2n05064b
< prev
next >
Wrap
Text File
|
1991-03-27
|
204b
|
13 lines
void *memcpy(void *s1, const void *s2, size_t n)
{
char *t1 = (char *)s1;
const char *t2 = (const char *)s2;
for (; n > 0; --n)
*t1++ = *t2++;
return s1;
}