pub unsafe extern "C" fn getnameinfo(
    sa: *const sockaddr,
    salen: socklen_t,
    host: *mut c_char,
    hostlen: size_t,
    serv: *mut c_char,
    servlen: size_t,
    flags: c_int
) -> c_int