pcap_dump_close(3PCAP) man page

pcap_dump_close(3PCAP) man page
Updated: 12 October 2024 • View in plain text • Return to Main Contents
NAME
pcap_dump_close - close a savefile being written to
SYNOPSIS
#include <pcap/pcap.h>
void pcap_dump_close(pcap_dumper_t *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 isstdout`.
SEE ALSO
pcap(3PCAP), pcap_dump_open(3PCAP), pcap_dump(3PCAP)
COLOPHON
This HTML man page was generated at 15:15:20 GMT, September 13, 2026 from a source man page in “The Tcpdump Group” git repositories using man2html and other tools.
