Closes a packet capture data file, know as a savefile.
pcap Library (libpcap.a)
void pcap_dump_close(pcap_dumper_t * p);
The pcap_dump_close subroutine closes a packet capture data file, known as the savefile, that was opened using the pcap_dump_open subroutine.
|p||Points to a pcap_dumper_t, which is synonymous with a FILE *, the file pointer of a savefile.|
The pcap_dump_open (pcap_dump_open Subroutine) subroutine.