home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / e / emxdev8f.zip / TIME.H < prev    next >
C/C++ Source or Header  |  1992-11-18  |  678b  |  40 lines

  1. /* sys/time.h (emx+gcc) */
  2.  
  3. #if !defined (_SYS_TIME_H)
  4. #define _SYS_TIME_H
  5.  
  6. #include <time.h>
  7.  
  8. #if defined (__cplusplus)
  9. extern "C" {
  10. #endif
  11.  
  12. #if !defined (_TIMEVAL)
  13. #define _TIMEVAL
  14. struct timeval
  15. {
  16.   long tv_sec;
  17.   long tv_usec;
  18. };
  19. #endif
  20.  
  21. #if !defined (_TIMEZONE)
  22. #define _TIMEZONE
  23. struct timezone
  24. {
  25.   int tz_minuteswest;
  26.   int tz_dsttime;
  27. };
  28. #endif
  29.  
  30. int utimes (__const__ char *name, __const__ struct timeval *tvp);
  31. int gettimeofday (struct timeval *tp, struct timezone *tzp);
  32. int settimeofday (__const__ struct timeval *tp,
  33.     __const__ struct timezone *tzp);
  34.  
  35. #if defined (__cplusplus)
  36. }
  37. #endif
  38.  
  39. #endif /* !defined (_SYS_TIME_H) */
  40.