Category : Assembly Language Source Code
Archive   : TASMSWAN.ZIP
Filename : COPYSTR.C

 
Output of file : COPYSTR.C contained in archive : TASMSWAN.ZIP
/******************************************************************
copystr.c
demos external function
********/

#include

extern void copystring(unsigned char far * source, unsigned char far * destination, int sourcelen);

char *source = 'Source';
char *destination = 'Destination';

main()
{
printf("Before destination: %s\n", destination);
copystring( source, destination, 6 );
printf("After destination : %s\n", destination);
}


  3 Responses to “Category : Assembly Language Source Code
Archive   : TASMSWAN.ZIP
Filename : COPYSTR.C

  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/