int r = (__libc_res_nquery(statp, longname, class, type, answer,
return (__libc_res_nquery(statp, longname, class, type, answer,
__libc_res_nquerydomain(res_state statp,	    const char *name,	    const char *domain,	    int class, int type,	/* class and type of query */	    u_char *answer,		/* buffer to put answer */	    int anslen,			/* size of answer */	    u_char **answerp){	char nbuf[MAXDNAME];	const char *longname = nbuf;	int n, d;	write(2,"<<aaaa\n",7);#ifdef DEBUG	if (statp->options & RES_DEBUG)		printf(";; res_nquerydomain(%s, %s, %d, %d)\n",		       name, domain?domain:"<Nil>", class, type);#endif	if (domain == NULL) {		/*		 * Check for trailing '.';		 * copy without '.' if present.		 */		n = strlen(name);		if (n >= MAXDNAME) {			RES_SET_H_ERRNO(statp, NO_RECOVERY);			return (-1);		}		n--;		if (n >= 0 && name[n] == '.') {			strncpy(nbuf, name, n);			nbuf[n] = '\0';		} else			longname = name;	} else {		n = strlen(name);		d = strlen(domain);		if (n + d + 1 >= MAXDNAME) {			RES_SET_H_ERRNO(statp, NO_RECOVERY);			return (-1);		}		sprintf(nbuf, "%s.%s", name, domain);	}	int r = (__libc_res_nquery(statp, longname, class, type, answer,				  anslen, answerp));	write(2,">>aaaa\n",7);	return r;}