Category : Files from Magazines
Archive   : CUJ9210.ZIP
Filename : 1010014A

 
Output of file : 1010014A contained in archive : CUJ9210.ZIP

Listing 2 -- the file memcpy.c

/* memcpy function */
#include

void *(memcpy)(void *s1, const void *s2, size_t n)
{ /* copy char s2[n] to s1[n] in any order */
char *su1 = (char *)s1;
const char *su2 = (const char *)s2;

for (; 0 < n; ++su1, ++su2, --n)
*su1 = *su2;
return (s1);
}



  3 Responses to “Category : Files from Magazines
Archive   : CUJ9210.ZIP
Filename : 1010014A

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/