Function gstuff::with_hostname
[−]
[src]
pub fn with_hostname(visitor: &mut FnMut(&[u8])) -> Result<(), Error>
Wraps gethostname
to fetch the current hostname into a temporary buffer.