home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tcp30tkt.zip / PGMG1.ZIP / INCLUDE / SYS / TIME.H < prev    next >
Text File  |  1995-12-04  |  428b  |  22 lines

  1. #ifndef _TIMEVAL
  2. #define _TIMEVAL
  3.  
  4. struct timeval {
  5.         unsigned long  tv_sec;
  6.         unsigned long  tv_usec;
  7. };
  8.  
  9. struct timezone {
  10.   unsigned short tmz;
  11. };
  12.  
  13. struct itimerval {
  14.         struct timeval it_interval;
  15.         struct timeval it_value;
  16. };
  17.  
  18. int _System gettimeofday(struct timeval * ,struct timezone * );
  19. int _System settimeofday(struct timeval *,struct timezone * );
  20.  
  21. #endif  /* _TIMEVAL */
  22.