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 u8service: ?[*:0]const u8hints: ?*const addrinfores: *?*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