home *** CD-ROM | disk | FTP | other *** search
/ The Pier Shareware 6 / The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso / 024 / psi110g.zip / LXTIME.H < prev    next >
C/C++ Source or Header  |  1994-04-17  |  595b  |  31 lines

  1. /*
  2.  * We simulate the DOS date/time stuff instead of using the Unix ones because
  3.  * the Unix ones require a lot of changed code.
  4.  */
  5.   
  6. #ifndef _LXTIME_H
  7.   
  8. struct date
  9. {
  10.     int da_year;
  11.     int da_day;
  12.     int da_mon;
  13. };
  14.   
  15. struct time
  16. {
  17.     int ti_min;
  18.     int ti_hour;
  19.     int ti_sec;
  20.     int ti_hund;
  21. };
  22.   
  23. extern void getdate __ARGS((struct date *));
  24. extern void gettime __ARGS((struct time *));
  25. extern long dostounix __ARGS((struct date *, struct time *));
  26. extern long secclock __ARGS((void));
  27. extern long msclock __ARGS((void));
  28.   
  29. #define _LXTIME_H
  30. #endif
  31.