devela::_dep::rustix::system

Function uname

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

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

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

§References