package unix

import "internal/syscall/unix"

Index

Functions

func KernelVersion

func KernelVersion() (major int, minor int)

func KernelVersionGE

func KernelVersionGE(x, y int) bool

KernelVersionGE checks if the running kernel version is greater than or equal to the provided version.

Source Files

kernel_version_ge.go kernel_version_other.go syscall.go

Version
v1.26.0-rc.2
Published
Jan 8, 2026
Platform
windows/amd64
Last checked
1 minute ago

Tools for package owners.