pcap_close(3) pcap_close(3)
NAME
pcap_close - close a capture device or savefile
SYNOPSIS
#include <pcap/pcap.h>
pcap_close(3) *p);
DESCRIPTION
pcap_close() closes the files associated with p and deallocates
resources. This means that, for example, if p refers to a savefile that
was opened with pcap_fopen_offline() or
pcap_fopen_offline_with_tstamp_precision(), the stream provided to the
routine will be closed unless it is stdin.
SEE ALSO
pcap(3), pcap_open_offline(3)
12 October 2024 pcap_close(3)
libpcap 1.10.6 - Generated Wed Dec 31 07:19:59 CST 2025
