summaryrefslogtreecommitdiff
path: root/src/network/res_send.c
blob: 6facc1bd1dd5636d9ac3889b412b2daea784733e (plain)
1
2
3
4
5
6
7
8
9
10
#include <resolv.h>
#include "libc.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 ? r : anslen;
}

weak_alias(__res_send, res_send);