Manpage of PCAP_FILENO
Section: Misc. Reference Manual Pages (3PCAP)
Updated: 7 April 2014
Return to Main Contents
pcap_fileno - get the file descriptor for a live capture
int pcap_fileno(pcap_t *p);
refers to a network device that was opened for a live capture using
a combination of
returns the file descriptor from which captured packets are read.
refers to a ``savefile'' that was opened using functions such as
that was created with
but that has not yet been activated with
it returns -1.
This document was created by
using the manual pages from "The Tcpdump Group" git repositories.
Time: 09:49:41 GMT, July 19, 2018