32 lines
448 B
Go
32 lines
448 B
Go
|
// Created by cgo -godefs - DO NOT EDIT
|
||
|
// cgo -godefs types_openbsd.go
|
||
|
|
||
|
package host
|
||
|
|
||
|
const (
|
||
|
sizeofPtr = 0x8
|
||
|
sizeofShort = 0x2
|
||
|
sizeofInt = 0x4
|
||
|
sizeofLong = 0x8
|
||
|
sizeofLongLong = 0x8
|
||
|
sizeOfUtmp = 0x130
|
||
|
)
|
||
|
|
||
|
type (
|
||
|
_C_short int16
|
||
|
_C_int int32
|
||
|
_C_long int64
|
||
|
_C_long_long int64
|
||
|
)
|
||
|
|
||
|
type Utmp struct {
|
||
|
Line [8]int8
|
||
|
Name [32]int8
|
||
|
Host [256]int8
|
||
|
Time int64
|
||
|
}
|
||
|
type Timeval struct {
|
||
|
Sec int64
|
||
|
Usec int64
|
||
|
}
|