gethostent_p
if (gethostent_p(&he, hed, statp->options & RES_USE_INET6, statp) != 0)
while ((error = gethostent_p(&he, hed, 0, statp)) == 0) {
while ((error = gethostent_p(&he, hed, 0, statp)) == 0)