Skip to main content

hostname

Function hostname 

Source
pub fn hostname() -> OsString
Expand description

Get the standard host name for the current machine using libc (POSIX gethostname). [gethostname]: http://pubs.opengroup.org/onlinepubs/9699919799/functions/gethostname.html [sysconf]: http://pubs.opengroup.org/onlinepubs/9699919799/functions/sysconf.html