You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

time.h 403B

1234567891011121314151617181920
  1. #ifndef _SYS_TIME_H
  2. #define _SYS_TIME_H
  3. #include <time.h>
  4. typedef unsigned long suseconds_t;
  5. struct timeval {
  6. time_t tv_sec; /* seconds */
  7. suseconds_t tv_usec; /* microseconds */
  8. };
  9. struct timezone {
  10. int tz_minuteswest; /* minutes W of Greenwich */
  11. int tz_dsttime; /* type of dst correction */
  12. };
  13. extern int gettimeofday ( struct timeval *tv, struct timezone *tz );
  14. #endif /* _SYS_TIME_H */