Category : C Source Code
Archive   : TCCLB2.ZIP
Filename : FILENAME.C

 
Output of file : FILENAME.C contained in archive : TCCLB2.ZIP
#include

typedef struct {
char Name[9];
char Ext[4];
char Attribute;
unsigned int Date;
unsigned int Time;
unsigned long Size;
int Tag;
} FileStruc;

char *FileName( FileStruc *fp )
{
static char Fn[13];

if ( *( fp->Ext ) )
sprintf( Fn, "%s.%s", fp->Name, fp->Ext );
else
sprintf( Fn, "%s", fp->Name );

return( Fn );
}


  3 Responses to “Category : C Source Code
Archive   : TCCLB2.ZIP
Filename : FILENAME.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/