...

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

Documentation: github.com/shirou/gopsutil/host

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

View as plain text