repo.or.cz
/
valgrind.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
drd/tests/std_thread2: Make this test independent of the libstdc++ version
[valgrind.git]
/
none
/
tests
/
resolv.c
blob
0571022a1ee1dd4648a5165020065aa0ce91c4b9
1
2
#include <netinet/in.h>
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
();
11
printf
(
"POST _res.nscount = %d
\n
"
, (
int
)
_res
.
nscount
>
0
);
12
fflush
(
stdout
);
13
return
0
;
14
}