host_freebsd_arm64.go 536 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. // +build freebsd
  2. // +build arm64
  3. // Code generated by cmd/cgo -godefs; DO NOT EDIT.
  4. // cgo -godefs host/types_freebsd.go
  5. package host
  6. const (
  7. sizeofPtr = 0x8
  8. sizeofShort = 0x2
  9. sizeofInt = 0x4
  10. sizeofLong = 0x8
  11. sizeofLongLong = 0x8
  12. sizeOfUtmpx = 0xc5
  13. )
  14. type (
  15. _C_short int16
  16. _C_int int32
  17. _C_long int64
  18. _C_long_long int64
  19. )
  20. type Utmp struct {
  21. Line [8]int8
  22. Name [16]int8
  23. Host [16]int8
  24. Time int32
  25. }
  26. type Utmpx struct {
  27. Type uint8
  28. Tv uint64
  29. Id [8]int8
  30. Pid uint32
  31. User [32]int8
  32. Line [16]int8
  33. Host [128]int8
  34. }