diff options
| author | Joseph Mingrone <jrm@FreeBSD.org> | 2026-01-07 12:56:48 -0400 |
|---|---|---|
| committer | Joseph Mingrone <jrm@FreeBSD.org> | 2026-01-07 12:56:48 -0400 |
| commit | 0a1fbf4c244d5cfb242d3d7b146fea2ee676d46d (patch) | |
| tree | 603f2cb82ae91e7dfc1174391a1f096db62827bf /pcap_dump_close.3pcap | |
| parent | 025be3f592b920ff0a3e602e5aa8b60a34e5e617 (diff) | |
Import libpcap 1.10.6vendor/libpcap/1.10.6vendor/libpcap
Diffstat (limited to 'pcap_dump_close.3pcap')
| -rw-r--r-- | pcap_dump_close.3pcap | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/pcap_dump_close.3pcap b/pcap_dump_close.3pcap index a62eb34dbf6c..37f5eb2608aa 100644 --- a/pcap_dump_close.3pcap +++ b/pcap_dump_close.3pcap @@ -17,7 +17,7 @@ .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. .\" -.TH PCAP_DUMP_CLOSE 3PCAP "3 January 2014" +.TH PCAP_DUMP_CLOSE 3PCAP "12 October 2024" .SH NAME pcap_dump_close \- close a savefile being written to .SH SYNOPSIS @@ -32,7 +32,14 @@ void pcap_dump_close(pcap_dumper_t *p); .fi .SH DESCRIPTION .BR pcap_dump_close () -closes the ``savefile.'' +closes the ``savefile'' associated with +.I p +and deallocates resources. This means that, for example, if +.I p +refers to a savefile that was opened with +.BR pcap_dump_fopen (), +the stream provided to that routine will be closed unless it is +.BR stdout . .SH SEE ALSO .BR pcap (3PCAP), .BR pcap_dump_open (3PCAP), |
