mirror of https://git.musl-libc.org/git/musl
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
360 B
13 lines
360 B
|
12 years ago
|
#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);
|