On Sep 3, 2012, at 7:13 PM, Michael Richardson wrote:

> Wesley, is fopen("/dev/stdin") really the most portal

(Presumably "portable".)

> way to get a reference to stein?

Definitely not - it will probably work on most modern UN*Xes (Linux, *BSD/OS X, 
and Solaris; I don't know about HP-UX or AIX), but not on Windows, so it won't 
work in WinDump.

>  I'd have thought that doing:
>    VFile=stdin;
> 
> was the best way?

Yes.

_______________________________________________
tcpdump-workers mailing list
tcpdump-workers@lists.tcpdump.org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Reply via email to