Function lrs::sys::version

Returns the major and minor version of the kernel we're running on.

Syntax

fn version() -> Result<(u8, u8), Errno>