Lines Matching refs:herrno
113 int* herrno) // legacy and extended h_errno in res_nquery() argument
132 *herrno = NO_RECOVERY; in res_nquery()
162 *herrno = NETD_RESOLV_H_ERRNO_EXT_TIMEOUT; // extended h_errno. in res_nquery()
165 *herrno = TRY_AGAIN; in res_nquery()
178 *herrno = HOST_NOT_FOUND; in res_nquery()
181 *herrno = TRY_AGAIN; in res_nquery()
184 *herrno = NO_DATA; in res_nquery()
190 *herrno = NO_RECOVERY; in res_nquery()
208 int* herrno) /* legacy and extended in res_nsearch() argument
220 *herrno = HOST_NOT_FOUND; /* True if we never query. */ in res_nsearch()
234 ret = res_nquerydomain(statp, name, NULL, cl, type, answer, anslen, herrno); in res_nsearch()
236 saved_herrno = *herrno; in res_nsearch()
265 ret = res_nquerydomain(statp, name, *domain, cl, type, answer, anslen, herrno); in res_nsearch()
282 *herrno = TRY_AGAIN; in res_nsearch()
286 switch (*herrno) { in res_nsearch()
318 ret = res_nquerydomain(statp, name, NULL, cl, type, answer, anslen, herrno); in res_nsearch()
330 *herrno = saved_herrno; in res_nsearch()
332 *herrno = NO_DATA; in res_nsearch()
334 *herrno = TRY_AGAIN; in res_nsearch()
346 int* herrno) /* legacy and extended h_errno NETD_RESOLV_H_ERRNO_EXT_* */ in res_nquerydomain() argument
360 *herrno = NO_RECOVERY; in res_nquerydomain()
374 *herrno = NO_RECOVERY; in res_nquerydomain()
379 return res_nquery(statp, longname, cl, type, answer, anslen, herrno); in res_nquerydomain()