...

Source file src/github.com/shirou/gopsutil/mem/types_openbsd.go

Documentation: github.com/shirou/gopsutil/mem

     1  // +build ignore
     2  
     3  /*
     4  Input to cgo -godefs.
     5  */
     6  
     7  package mem
     8  
     9  /*
    10  #include <sys/types.h>
    11  #include <sys/mount.h>
    12  #include <sys/sysctl.h>
    13  */
    14  import "C"
    15  
    16  // Machine characteristics; for internal use.
    17  
    18  const (
    19  	CTLVfs        = 10
    20  	VfsGeneric    = 0
    21  	VfsBcacheStat = 3
    22  )
    23  
    24  const (
    25  	sizeOfBcachestats = C.sizeof_struct_bcachestats
    26  )
    27  
    28  type Bcachestats C.struct_bcachestats
    29  

View as plain text