Function axlibc::getaddrinfo

source ·
#[no_mangle]
pub unsafe extern "C" fn getaddrinfo(
    nodename: *const c_char,
    servname: *const c_char,
    hints: *const addrinfo,
    res: *mut *mut addrinfo
) -> c_int
Available on crate feature net only.
Expand description

Query addresses for a domain name.

Return address number if success.