summaryrefslogtreecommitdiff
path: root/src/network/res_send.c
blob: 19cfe0f6b4050166ad7d17519007bd5f5ecd66cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <resolv.h>
#include "libc.h"

int __res_msend(int, const unsigned char *const *, const int *, unsigned char *const *, int *, int);

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);