From a710ddc83c9ec174d417c695d5f0ada310ff9660 Mon Sep 17 00:00:00 2001 From: Denis Ovsienko Date: Tue, 17 Jul 2018 12:57:49 +0000 Subject: 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] --- pcap_file.3pcap | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'pcap_file.3pcap') diff --git a/pcap_file.3pcap b/pcap_file.3pcap index cd6b06bb..5a983466 100644 --- a/pcap_file.3pcap +++ b/pcap_file.3pcap @@ -34,13 +34,13 @@ FILE *pcap_file(pcap_t *p); .B pcap_file() returns the standard I/O stream of the ``savefile,'' if a ``savefile'' was opened with -.BR pcap_open_offline() , +.BR pcap_open_offline(3PCAP) , or NULL, if a network device was opened with -.B pcap_create() +.B pcap_create(3PCAP) and -.BR pcap_activate() , +.BR \%pcap_activate(3PCAP) , or with -.BR pcap_open_live() . +.BR pcap_open_live(3PCAP) . .PP Note that the Packet Capture library is usually built with large file support, so the standard I/O stream of the ``savefile'' might refer to @@ -54,4 +54,4 @@ or the value returned by when passed the return value of .BR pcap_file() . .SH SEE ALSO -pcap(3PCAP), pcap_open_offline(3PCAP) +pcap(3PCAP) -- cgit v1.2.1