PCAP_DUMP_CLOSE(3PCAP)
π NAME π
okay so bestie, this is the PCAP_DUMP_CLOSE(3PCAP) page π and it's literally about one tiny but iconic function: pcap_dump_close β close a savefile being written to β¨
π¦ SYNOPSIS π¦
#include <pcap/pcap.h>
void pcap_dump_close(pcap_dumper_t *p);
πΈ DESCRIPTION πΈ
so pcap_dump_close() does the goodbye thing π β it closes the savefile associated with p and deallocates resources. very βclean up your room before you leaveβ of it, no cap π
and like, this matters: 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 π«Ά
one exception bestie: if it's stdout, it stays open. the function is not out here closing your terminal output π
π SEE ALSO π
pcap(3PCAP)pcap_dump_open(3PCAP)pcap_dump(3PCAP)
mwah π this little icon was served by the PCAP_DUMP_CLOSE(3PCAP) manual, dated 12 October 2024 β catch u next time, bestie πβ¨π
π¦ where this page comes from
- alpine 3.22: libpcap-doc 1.10.7-r0 Β· BSD-3-Clause
- alpine 3.23: libpcap-doc 1.10.7-r0 Β· BSD-3-Clause
- alpine 3.24: libpcap-doc 1.10.7-r0 Β· BSD-3-Clause
- fedora 43: libpcap-devel 14:1.10.7-1.fc43 Β· ISC AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause-UC
- fedora 43: libpcap-devel 14:1.10.7-1.fc43 Β· ISC AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause-UC
- fedora 44: libpcap-devel 14:1.10.6-2.fc44 Β· ISC AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause-UC
- fedora 44: libpcap-devel 14:1.10.6-2.fc44 Β· ISC AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause-UC
- fedora 44: libpcap-devel 14:1.10.7-1.fc44 Β· ISC AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause-UC
- fedora 44: libpcap-devel 14:1.10.7-1.fc44 Β· ISC AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause-UC
- nixos 26.05: libpcap 1.10.7
- ubuntu resolute: libpcap0.8-dev 1.10.6-1ubuntu1 Β· BSD-3-clause-var3
- ubuntu resolute: libpcap0.8-dev 1.10.6-1ubuntu1.1 Β· BSD-3-clause-var3
- ubuntu stonking: libpcap0.8-dev 1.10.7-1ubuntu1 Β· BSD-3-clause-var3
- Copyright (c) 1994, 1996, 1997 The Regents of the University of California. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms