mirror of https://github.com/shirou/gopsutil
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
404 B
Go
30 lines
404 B
Go
// SPDX-License-Identifier: BSD-3-Clause
|
|
//go:build ignore
|
|
|
|
/*
|
|
Input to cgo -godefs.
|
|
*/
|
|
|
|
package mem
|
|
|
|
/*
|
|
#include <sys/types.h>
|
|
#include <sys/mount.h>
|
|
#include <sys/sysctl.h>
|
|
*/
|
|
import "C"
|
|
|
|
// Machine characteristics; for internal use.
|
|
|
|
const (
|
|
CTLVfs = 10
|
|
VfsGeneric = 0
|
|
VfsBcacheStat = 3
|
|
)
|
|
|
|
const (
|
|
sizeOfBcachestats = C.sizeof_struct_bcachestats
|
|
)
|
|
|
|
type Bcachestats C.struct_bcachestats
|