Category : Files from Magazines
Archive   : PJ81.ZIP
Filename : COMMON_I.H

 
Output of file : COMMON_I.H contained in archive : PJ81.ZIP
/* COMMON_INC.H
* Commonly use macros combined in one file.
*/

#define OK 0
#define FAIL -1
#define FOREVER while(1)

#define IS_FLAG_SET(var, flag) (((var) & (flag)) == (flag))
#define ON_FLAG(var, flag) ((var) |= (flag))
#define OFF_FLAG(var, flag) ((var) &= ~(flag))
#define INIT_FLAG(var) ((var)= 0)
#define MASK(var, mask) ((var) & (mask))

typedef unsigned char uchar;





  3 Responses to “Category : Files from Magazines
Archive   : PJ81.ZIP
Filename : COMMON_I.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/