5 int res_query(const char *name, int class, int type, unsigned char *dest, int len)
8 int ql = __res_mkquery(0, name, class, type, 0, 0, 0, q, sizeof q);
10 int r = __res_send(q, ql, dest, len);
15 if ((dest[3] & 15) == 3) {
16 h_errno = HOST_NOT_FOUND;
19 if ((dest[3] & 15) == 0 && !dest[6] && !dest[7]) {
26 weak_alias(res_query, res_search);