Function uname

Source
pub fn uname() -> Uname
Available on crate feature system only.
Expand description

uname()—Returns high-level information about the runtime OS and hardware.

For gethostname(), use Uname::nodename on the result.

§References