tcpdump mailing list archives

Re: Multifile patch


From: Gert Doering <gert () greenie muc de>
Date: Tue, 4 Sep 2012 10:32:04 +0200

Hi,

On Mon, Sep 03, 2012 at 10:13:57PM -0400, Michael Richardson wrote:
Wesley, is fopen("/dev/stdin") really the most portal way to
get a reference to stdin?  

It's about the most complicated way, and guaranteed to be non-portable
(no /dev/std* devices on AIX, for example).

I'd have thought that doing:
    VFile=stdin;

was the best way?

This is well-defined.

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert () greenie muc de
fax: +49-89-35655025                        gert () net informatik tu-muenchen de
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Current thread: