summaryrefslogtreecommitdiff
path: root/pcap_dump_flush.3pcap
diff options
context:
space:
mode:
authorDenis Ovsienko <denis@ovsienko.info>2018-07-17 12:57:49 +0000
committerDenis Ovsienko <denis@ovsienko.info>2018-07-17 13:06:12 +0000
commita710ddc83c9ec174d417c695d5f0ada310ff9660 (patch)
treedd398bc774192de423f3bc8e97ab00936a98afa3 /pcap_dump_flush.3pcap
parent04b703adb76af5bade242f22c2b2c557c6ab1161 (diff)
downloadlibpcap-a710ddc83c9ec174d417c695d5f0ada310ff9660.tar.gz
Refine references in some man pages, round 1.
When a man page text for the first time refers to a libpcap function that is not a topic of the man page, make sure it points to the 3PCAP section. This way the reference becomes a hyperlink in the HTML version and the web-site cohesion improves. Make sure the SEE ALSO section does not list references already present in the main text. This way the references that appear only in SEE ALSO are much easier to notice, and cohesion remains the same. [skip ci]
Diffstat (limited to 'pcap_dump_flush.3pcap')
-rw-r--r--pcap_dump_flush.3pcap4
1 files changed, 2 insertions, 2 deletions
diff --git a/pcap_dump_flush.3pcap b/pcap_dump_flush.3pcap
index c8f110bb..a2bd1418 100644
--- a/pcap_dump_flush.3pcap
+++ b/pcap_dump_flush.3pcap
@@ -34,10 +34,10 @@ int pcap_dump_flush(pcap_dumper_t *p);
.B pcap_dump_flush()
flushes the output buffer to the ``savefile,'' so that any packets
written with
-.B pcap_dump()
+.B pcap_dump(3PCAP)
but not yet written to the ``savefile'' will be written.
.SH RETURN VALUE
.B pcap_dump_flush()
returns 0 on success and \-1 on failure.
.SH SEE ALSO
-pcap(3PCAP), pcap_dump_open(3PCAP), pcap_dump(3PCAP)
+pcap(3PCAP), pcap_dump_open(3PCAP)