This repository has been archived on 2023-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
dex/vendor/github.com/opencontainers/runc/libcontainer/system/sysconfig.go

13 lines
154 B
Go
Raw Normal View History

2020-01-31 09:32:00 +00:00
// +build cgo,linux cgo,freebsd
package system
/*
#include <unistd.h>
*/
import "C"
func GetClockTicks() int {
return int(C.sysconf(C._SC_CLK_TCK))
}