Return to main.c CVS log | Up to [local] / src / usr.bin / netstat |
version 1.101, 2014/06/23 03:46:17 | version 1.102, 2014/10/23 16:45:57 | ||
---|---|---|---|
|
|
||
printproto(tp, tp->pr_name, af, tableid, pcbaddr); | printproto(tp, tp->pr_name, af, tableid, pcbaddr); | ||
exit(0); | exit(0); | ||
} | } | ||
/* | |||
* Keep file descriptors open to avoid overhead | |||
* of open/close on each call to get* routines. | |||
*/ | |||
sethostent(1); | |||
setnetent(1); | |||
if (iflag) { | if (iflag) { | ||
intpr(interval, repeatcount); | intpr(interval, repeatcount); | ||
exit(0); | exit(0); |