Function shell_rs::hostname::hostname[][src]

pub fn hostname() -> Result<String, Error>
Expand description

Get system’s host name.

See hostname(1) and gethostname(3).