time.h 248 B

1234567891011121314
  1. #ifndef LIBC_SYS_TIME_H
  2. #define LIBC_SYS_TIME_H
  3. #include <sys/types.h>
  4. struct timeval {
  5. time_t tv_sec;
  6. suseconds_t tv_usec;
  7. };
  8. int gettimeofday(struct timeval *tv, void *tz);
  9. int settimeofday(const struct timeval *tv, const void *tz);
  10. #endif