pull/4/head
Shirou WAKAYAMA 11 years ago
parent 41d2beb271
commit 87c64a5174

@ -3,9 +3,9 @@
package gopsutil package gopsutil
import ( import (
"errors"
"syscall" "syscall"
"unsafe" "unsafe"
"errors"
) )
func DiskPartitions(all bool) ([]DiskPartitionStat, error) { func DiskPartitions(all bool) ([]DiskPartitionStat, error) {

@ -54,7 +54,6 @@ type Statfs struct {
FMntonname [MNAMELEN]byte /* directory on which mounted */ FMntonname [MNAMELEN]byte /* directory on which mounted */
} }
// /usr/include/devstat.h // /usr/include/devstat.h
// devstat_getdevs() // devstat_getdevs()
// kern.devstat.all -> devstats list struct // kern.devstat.all -> devstats list struct
@ -74,7 +73,6 @@ type Statfs struct {
// long double snap_time; // long double snap_time;
// }; // };
// /usr/include/devinfo.h // /usr/include/devinfo.h
// struct devinfo_dev { // struct devinfo_dev {

Loading…
Cancel
Save