sigar/go_bindings/gotoc/resource.go

25 lines
252 B
Go
Raw Normal View History

2016-01-04 18:23:11 +08:00
package gotoc
import (
)
/*
#include "../../../../../Include/sigar.h"
*/
import "C"
func Resources()C.sigar_resource_limit_t{
var resources C.sigar_resource_limit_t
C.sigar_resource_limit_get(sigar, &resources)
return resources
}