host_linux_riscv64.go 826 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // Created by cgo -godefs - DO NOT EDIT
  2. // cgo -godefs types_linux.go
  3. package host
  4. const (
  5. sizeofPtr = 0x8
  6. sizeofShort = 0x2
  7. sizeofInt = 0x4
  8. sizeofLong = 0x8
  9. sizeofLongLong = 0x8
  10. sizeOfUtmp = 0x180
  11. )
  12. type (
  13. _C_short int16
  14. _C_int int32
  15. _C_long int64
  16. _C_long_long int64
  17. )
  18. type utmp struct {
  19. Type int16
  20. Pid int32
  21. Line [32]int8
  22. Id [4]int8
  23. User [32]int8
  24. Host [256]int8
  25. Exit exit_status
  26. Session int32
  27. Tv _Ctype_struct___0
  28. Addr_v6 [4]int32
  29. X__glibc_reserved [20]uint8
  30. }
  31. type exit_status struct {
  32. Termination int16
  33. Exit int16
  34. }
  35. type timeval struct {
  36. Sec int64
  37. Usec int64
  38. }
  39. type _Ctype_struct___0 struct {
  40. Sec int32
  41. Usec int32
  42. }