time.h 367 B

12345678910111213141516171819202122
  1. #ifndef __SYSTIME_H
  2. #define __SYSTIME_H
  3. #pragma lib "/$M/lib/ape/libap.a"
  4. #ifndef __TIMEVAL__
  5. #define __TIMEVAL__
  6. struct timeval {
  7. long tv_sec;
  8. long tv_usec;
  9. };
  10. #ifdef _BSD_EXTENSION
  11. struct timezone {
  12. int tz_minuteswest;
  13. int tz_dsttime;
  14. };
  15. #endif
  16. #endif /* __TIMEVAL__ */
  17. extern int gettimeofday(struct timeval *, struct timezone *);
  18. #endif /* __SYSTIME_H */