Function gstuff::with_hostname

source ·
pub fn with_hostname(visitor: &mut dyn FnMut(&[u8])) -> Result<(), Error>
Expand description

Wraps gethostname to fetch the current hostname into a temporary buffer.