[][src]Function linux::syscall::sethostname

pub fn sethostname(name: &[d8]) -> c_int

Sets the hostname of the system.

[argument, name] The new hostname of the system.

[return_value] Returns success or an error value.

= See also

  • link:man:sethostname(2)