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