Category : C Source Code
Archive   : PCC-FNCT.ZIP
Filename : FILEFIND.H

 
Output of file : FILEFIND.H contained in archive : PCC-FNCT.ZIP
/*
* Structure of Data Transfer Area for file searches with wildcards
* include this file in any subroutine that needs file search capability.
*/
struct DataArea {
char dta_reserved[21];
char dta_attribute;
short int dta_time;
short int dta_date;
long int dta_file_size;
char dta_name[13];
} ;

/*
* Attributes for FindFirst, FindNext, GetMod, and ChMod
* You can set or check with '&' e.g., (attr & F_DIRECTORY)
* if(attr & (F_READ_ONLY & F_HIDDEN)
*/
#define F_NORMAL 0x00
#define F_READ_ONLY 0x01
#define F_HIDDEN 0x02
#define F_SYSTEM 0x04
#define F_LABEL 0x08
#define F_DIRECTORY 0x10
#define F_ARCHIVE 0x20
#define F_ALL 0xFF

  3 Responses to “Category : C Source Code
Archive   : PCC-FNCT.ZIP
Filename : FILEFIND.H

  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/