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
FreeBSD _umtx_op: fix bad wrapper for robust lists
[valgrind.git]
/
none
/
tests
/
resolv.c
blob
dcd3655433b5bb53328fb83c21d941c80553333a
1
2
#include <arpa/inet.h>
3
#include <netinet/in.h>
4
#include <resolv.h>
5
#include <stdio.h>
6
7
int
main
(
int
argc
,
char
*
argv
[])
8
{
9
printf
(
"PRE _res.nscount = %d
\n
"
,
_res
.
nscount
);
10
fflush
(
stdout
);
11
res_init
();
12
printf
(
"POST _res.nscount = %d
\n
"
, (
int
)
_res
.
nscount
>
0
);
13
fflush
(
stdout
);
14
return
0
;
15
}