about summary refs log tree commit diff
path: root/src/network/res_send.c
blob: ee4abf1f1ade69273c72ac3c963d038e6a813ffb (plain) (blame)
1
2
3
4
5
6
7
8
9
#include <resolv.h>

int __res_send(const unsigned char *msg, int msglen, unsigned char *answer, int anslen)
{
	int r = __res_msend(1, &msg, &msglen, &answer, &anslen, anslen);
	return r<0 || !anslen ? -1 : anslen;
}

weak_alias(__res_send, res_send);