Crate whatsys[][src]

What kernel version is running?

Example

let kernel = whatsys::kernel_version(); // E.g. Some("20.3.0")

Supported operating systems

We support the following operating systems:

  • Windows
  • macOS
  • Linux
  • Android

License

MIT. Copyright (c) 2021 Jan-Erik Rediger

Based on:

Functions

kernel_version

Based on code from sysinfo: https://crates.io/crates/sysinfo Original licenses: MIT Original author: Guillaume Gomez License file: https://github.com/GuillaumeGomez/sysinfo/blob/master/LICENSE Get the version of the currently running kernel.