Searched refs:trailing_dot (Results 1 – 2 of 2) sorted by relevance
214 int trailing_dot, ret, saved_herrno; in res_nsearch() local224 trailing_dot = 0; in res_nsearch()225 if (cp > name && *--cp == '.') trailing_dot++; in res_nsearch()233 if (dots >= statp->ndots || trailing_dot) { in res_nsearch()235 if (ret > 0 || trailing_dot) return ret; in res_nsearch()247 (dots && !trailing_dot && (statp->options & RES_DNSRCH) != 0U)) { in res_nsearch()
1672 int trailing_dot, ret, saved_herrno; in res_searchN() local1684 trailing_dot = 0; in res_searchN()1685 if (cp > name && *--cp == '.') trailing_dot++; in res_searchN()1706 (dots && !trailing_dot && (res->options & RES_DNSRCH))) { in res_searchN()