logo

Function whoami::os

source · []
pub fn os() -> String
Expand description

Get the the operating system name and version.

Example: “Windows 10” or “Fedora 26 (Workstation Edition)”