...

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

Documentation: github.com/shirou/gopsutil/host

     1  // +build openbsd
     2  // +build arm64
     3  // Code generated by cmd/cgo -godefs; DO NOT EDIT.
     4  // cgo -godefs host/types_openbsd.go
     5  
     6  package host
     7  
     8  const (
     9  	sizeofPtr      = 0x8
    10  	sizeofShort    = 0x2
    11  	sizeofInt      = 0x4
    12  	sizeofLong     = 0x8
    13  	sizeofLongLong = 0x8
    14  	sizeOfUtmp     = 0x130
    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 [32]int8
    27  	Host [256]int8
    28  	Time int64
    29  }
    30  type Timeval struct {
    31  	Sec  int64
    32  	Usec int64
    33  }
    34  

View as plain text