...

Source file src/github.com/shirou/gopsutil/host/host_freebsd_386.go

Documentation: github.com/shirou/gopsutil/host

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

View as plain text