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.
31 lines
421 B
Go
31 lines
421 B
Go
2 years ago
|
//go:build ignore
|
||
|
// +build ignore
|
||
|
|
||
|
// Hand writing: _Ctype_struct_statvfs
|
||
|
|
||
|
/*
|
||
|
Input to cgo -godefs.
|
||
|
*/
|
||
|
|
||
|
package disk
|
||
|
|
||
|
/*
|
||
|
#include <sys/types.h>
|
||
|
#include <sys/statvfs.h>
|
||
|
#include <sys/cdefs.h>
|
||
|
#include <sys/featuretest.h>
|
||
|
#include <sys/stdint.h>
|
||
|
#include <machine/ansi.h>
|
||
|
#include <sys/ansi.h>
|
||
|
#include <sys/fstypes.h>
|
||
|
*/
|
||
|
import "C"
|
||
|
|
||
|
const (
|
||
|
sizeOfStatvfs = C.sizeof_struct_statvfs
|
||
|
)
|
||
|
|
||
|
type (
|
||
|
Statvfs C.struct_statvfs
|
||
|
)
|