Generic getaddrinfo.c.