extern "c" fn getaddrinfo(?[*:0]const u8, ?[*:0]const u8, ?*const c.T, *?*c.T) callconv(.C) c.T
node: ?[*:0]const u8,
service: ?[*:0]const u8,
hints: ?*const c.T,
res: *?*c.T,
On Linux, res will not be modified on error and freeaddrinfo will potentially crash if you pass it an undefined pointer
res
freeaddrinfo