mirror of
https://github.com/ioacademy-jikim/debugging
synced 2025-06-08 08:26:14 +00:00
15 lines
286 B
C
15 lines
286 B
C
|
|
#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;
|
|
}
|