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. }