Function lrs::sys::set_host_name

Sets the hostname of the system

Syntax

fn set_host_name<P>(name: P) -> Result<(), Errno>
    where P: AsRef<[u8]>,

Arguments

NameDescription
name

The new hostname.