operating_system

This package exposes a function - name, which returns the name of the current operating system, as reported by uname.

Values

pub fn name() -> String

Returns the operating system name, as returned by uname -s, in lowercase.

Search Document