PCAP_CLOSE(3) Library Functions Manual PCAP_CLOSE(3)

NAME

pcap_close - close a capture device or savefile

SYNOPSIS

#include <pcap/pcap.h>
void pcap_close(pcap_t *p);

DESCRIPTION

pcap_close() closes the files associated with p and deallocates resources.

SEE ALSO

pcap(3)
3 January 2014