1
2#include <netinet/in.h>
3#include <resolv.h>
4#include <stdio.h>
5
6int main(int argc, char *argv[])
7{
8   printf("PRE _res.nscount = %d\n", _res.nscount);
9   fflush(stdout);
10   res_init();
11   printf("POST _res.nscount = %d\n", ( int ) _res.nscount > 0 );
12   fflush(stdout);
13   return 0;
14}
15