Home
last modified time | relevance | path

Searched refs:info_fp (Results 1 – 2 of 2) sorted by relevance

/external/ltp/testcases/network/stress/ns-tools/
Dns-udpserver.c200 FILE *info_fp = stdout; /* FILE pointer to a information file */ in main() local
243 if ((info_fp = fopen(optarg, "w")) == NULL) { in main()
327 fprintf(info_fp, "PID: %u\n", getpid()); in main()
328 fflush(info_fp); in main()
329 if (info_fp != stdout) in main()
330 if (fclose(info_fp)) in main()
Dns-tcpserver.c537 FILE *info_fp = stdout; /* FILE pointer to a information file */ in main() local
592 if ((info_fp = fopen(optarg, "w")) == NULL) { in main()
641 fprintf(info_fp, "PID: %u\n", getpid()); in main()
642 fflush(info_fp); in main()
643 if (info_fp != stdout) in main()
644 if (fclose(info_fp)) in main()