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.

14 lines
286 B

#include <netinet/in.h>
#include <resolv.h>
#include <stdio.h>
int main(int argc, char *argv[])
{
printf("PRE _res.nscount = %d\n", _res.nscount);
fflush(stdout);
res_init();
printf("POST _res.nscount = %d\n", ( int ) _res.nscount > 0 );
fflush(stdout);
return 0;
}