pcap_dump_close(3) pcap_dump_close(3)
NAME
pcap_dump_close - close a savefile being written to
SYNOPSIS
#include <pcap/pcap.h>
pcap_dump_close(3) *p);
DESCRIPTION
pcap_dump_close() closes the ``savefile'' associated with p and
deallocates resources. This means that, for example, if p refers to a
savefile that was opened with pcap_dump_fopen(), the stream provided to
that routine will be closed unless it is stdout.
SEE ALSO
pcap(3), pcap_dump_open(3), pcap_dump(3)
12 October 2024 pcap_dump_close(3)
libpcap 1.10.6 - Generated Wed Dec 31 07:21:17 CST 2025
