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.
pcap(3PCAP), pcap_create(3PCAP), pcap_activate(3PCAP),
- SEE ALSO
This document was created by
using the manual pages.
Time: 00:07:27 GMT, December 18, 2015