Sets the hostname of the system.
fn sethostname(name: &[u8]) -> i32
The new hostname of the system.
Returns success or an error value.
sethostname(2)