summaryrefslogtreecommitdiff
path: root/pcap_dump_close.3pcap
diff options
context:
space:
mode:
Diffstat (limited to 'pcap_dump_close.3pcap')
-rw-r--r--pcap_dump_close.3pcap11
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),