blob: 19cfe0f6b4050166ad7d17519007bd5f5ecd66cd [file] [log] [blame]
#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);