sewardj | 22fea73 | 2002-08-06 09:09:53 +0000 | [diff] [blame] | 1 | |
mueller | b3a8929 | 2004-01-03 14:24:42 +0000 | [diff] [blame] | 2 | #include <netinet/in.h> |
sewardj | 22fea73 | 2002-08-06 09:09:53 +0000 | [diff] [blame] | 3 | #include <resolv.h> |
| 4 | #include <stdio.h> |
| 5 | |
| 6 | int main(int argc, char *argv[]) |
| 7 | { |
| 8 | printf("PRE _res.nscount = %d\n", _res.nscount); |
| 9 | fflush(stdout); |
| 10 | res_init(); |
daywalker | aac2c68 | 2003-04-03 00:50:21 +0000 | [diff] [blame] | 11 | printf("POST _res.nscount = %d\n", ( int ) _res.nscount > 0 ); |
sewardj | 22fea73 | 2002-08-06 09:09:53 +0000 | [diff] [blame] | 12 | fflush(stdout); |
| 13 | return 0; |
| 14 | } |