Function getaddrinfo [src]
Prototype
pub extern "c" fn getaddrinfo( noalias node: ?[*:0]const u8, noalias service: ?[*:0]const u8, noalias hints: ?*const addrinfo, noalias res: *?*addrinfo, ) EAI
Parameters
node: ?[*:0]const u8
service: ?[*:0]const u8
hints: ?*const addrinfo
res: *?*addrinfoOn Linux, res will not be modified on error and freeaddrinfo will
potentially crash if you pass it an undefined pointer
Source
pub extern "c" fn getaddrinfo(
noalias node: ?[*:0]const u8,
noalias service: ?[*:0]const u8,
noalias hints: ?*const addrinfo,
/// On Linux, `res` will not be modified on error and `freeaddrinfo` will
/// potentially crash if you pass it an undefined pointer
noalias res: *?*addrinfo,
) EAI