libc

Function gethostname

source
pub unsafe extern "C" fn gethostname(
    name: *mut c_char,
    len: size_t,
) -> c_int