types.go 380 B

12345678910111213141516
  1. package linux
  2. // suseconds_t varies by platform, 32 on 32 bits, 64 on 64 bits
  3. type suseconds_t = long
  4. // time_t is aways 64 bits signed, even on 32 bits platforms.
  5. type time_t = int64
  6. // A time value that is accurate to the nearest
  7. // microsecond but also has a range of years.
  8. type timeval struct {
  9. tv_sec time_t // Seconds.
  10. tv_usec suseconds_t // Microseconds.
  11. }