Something went wrong. Try again.
forked from shirou/gopsutil
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849// SPDX-License-Identifier: BSD-3-Clause// ATTENTION - FILE MANUAL FIXED AFTER CGO.// Fixed line: Tv _Ctype_struct_timeval -> Tv UtTv// Created by cgo -godefs, MANUAL FIXED// cgo -godefs types_linux.go
package host
const ( sizeofPtr = 0x4 sizeofShort = 0x2 sizeofInt = 0x4 sizeofLong = 0x4 sizeofLongLong = 0x8 sizeOfUtmp = 0x180)
type ( _C_short int16 //nolint:revive //FIXME _C_int int32 //nolint:revive //FIXME _C_long int32 //nolint:revive //FIXME _C_long_long int64 //nolint:revive //FIXME)
type utmp struct { Type int16 Pad_cgo_0 [2]byte //nolint:revive //FIXME Pid int32 Line [32]int8 ID [4]int8 User [32]int8 Host [256]int8 Exit exit_status Session int32 Tv UtTv Addr_v6 [4]int32 //nolint:revive //FIXME X__unused [20]int8 //nolint:revive //FIXME}
type exit_status struct { //nolint:revive //FIXME Termination int16 Exit int16}
type UtTv struct { Sec int32 Usec int32}