1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-21 18:11:06 +00:00
forgejo-runner/vendor/github.com/opencontainers/runc/libcontainer/system/sysconfig.go
Casey Lee 940b4385bf fail on error (#20)
ci-via-github-actions
2019-01-23 11:51:22 -08:00

12 lines
154 B
Go

// +build cgo,linux cgo,freebsd
package system
/*
#include <unistd.h>
*/
import "C"
func GetClockTicks() int {
return int(C.sysconf(C._SC_CLK_TCK))
}