Category : C Source Code
Archive   : C-DATES.ZIP
Filename : C_DATES.H

 
Output of file : C_DATES.H contained in archive : C-DATES.ZIP
#define suncnt( a, b ) ( daycnt( a, b, 0 ) - daycnt( a, b, 1 ) )
#define satcnt( a, b ) ( daycnt( a, b, 1 ) - daycnt( a, b, 2 ) )
#define wkend( a ) ( a - dow( a ) + 6 )

#ifdef LINT_ARGS

#ifndef NO_EXT_KEYS

long cdecl gtoj( unsigned int, unsigned int, unsigned int );
char * cdecl jtog( unsigned long, char *, unsigned int );
int cdecl fulldte( unsigned long, char * );
int cdecl dow( unsigned long );
long cdecl daycnt( unsigned long, unsigned long, unsigned int );
long cdecl newdate( unsigned long, long, unsigned int );

#else

long gtoj( unsigned int, unsigned int, unsigned int );
char * jtog( unsigned long, char *, unsigned int );
int fulldte( unsigned long, char * );
int dow( unsigned long );
long daycnt( unsigned long, unsigned long, unsigned int );
long newdate( unsigned long, long, unsigned int );

#endif

#else

#ifndef NO_EXT_KEYS

long cdecl gtoj();
char * cdecl jtog();
int cdecl fulldte();
int cdecl dow();
long cdecl daycnt();
long cdecl newdate();

#else

long gtoj();
char * jtog();
int fulldte();
int dow();
long daycnt();
long newdate();

#endif

#endif


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