rustix::system

Function uname

source
pub fn uname() -> Uname
Expand description

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

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

§References