home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
PROGRAM
/
C
/
CDOS10
/
TIMEFCTS.H
< prev
next >
Wrap
C/C++ Source or Header
|
1992-07-07
|
2KB
|
46 lines
#if !defined (TIMEFCTS) /* Prevents multiple declarations errors */
#define TIMEFCTS
/*----- Library Header Files ----------------------------------------------*/
/*----- Global Macros -----------------------------------------------------*/
#include "stdmacro.h"
/*----- Global TypeDefs ---------------------------------------------------*/
#include "stdtype.h"
/*----- Prototype ---------------------------------------------------------*/
void far ticktimer_install (void) ; /* Install/De-install timer */
/*----- Prototype ---------------------------------------------------------*/
void far ticktimer_reset (void) ; /* Reset tick counter */
/*----- Prototype ---------------------------------------------------------*/
dword far ticktimer_read (void) ; /* Return current tick count */
/*----- Prototype ---------------------------------------------------------*/
dword far diffdate /* Compute number of days between two dates */
( int day1, /* 1st date: day (1-31) */
int month1, /* 1st date: month (1-12) */
int year1, /* 1st date: year (xxxx) */
int day2, /* 2nd date: day (1-31) */
int month2, /* 2nd date: month (1-12) */
int year2 /* 2nd date: year (xxxx) */
) ;
/*----- End Header File ---------------------------------------------------*/
#endif