...

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

Documentation: github.com/shirou/gopsutil/host

     1  // Created by cgo -godefs - DO NOT EDIT
     2  // cgo -godefs types_openbsd.go
     3  
     4  package host
     5  
     6  const (
     7  	sizeofPtr      = 0x8
     8  	sizeofShort    = 0x2
     9  	sizeofInt      = 0x4
    10  	sizeofLong     = 0x8
    11  	sizeofLongLong = 0x8
    12  	sizeOfUtmp     = 0x130
    13  )
    14  
    15  type (
    16  	_C_short     int16
    17  	_C_int       int32
    18  	_C_long      int64
    19  	_C_long_long int64
    20  )
    21  
    22  type Utmp struct {
    23  	Line [8]int8
    24  	Name [32]int8
    25  	Host [256]int8
    26  	Time int64
    27  }
    28  type Timeval struct {
    29  	Sec  int64
    30  	Usec int64
    31  }
    32  

View as plain text