[][src]Function simple_libc::gethostname_raw

pub fn gethostname_raw(name_vec: &mut Vec<Char>) -> Result<()>

Attempts to read the current system hostname into the given vector.

The result is null-terminated. Behavior in the case that the vector is not long enough is system-dependent.