pcap_dump_close(3) - NetBSD Manual Pages

PCAP_DUMP_CLOSE(3)                                          PCAP_DUMP_CLOSE(3)




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 deallo- cates resources. This means that, for example, if p refers to a save- file 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)

Powered by man-cgi (2025-09-08). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.