Function rg::args::platform_hostname

source ·
fn platform_hostname() -> Option<String>
Expand description

Attempts to get the hostname by using platform specific routines. For example, this will do gethostname on Unix and GetComputerNameExW on Windows.