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_fileno.3pcap | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'pcap_fileno.3pcap') diff --git a/pcap_fileno.3pcap b/pcap_fileno.3pcap index e8c9ac4d..03465188 100644 --- a/pcap_fileno.3pcap +++ b/pcap_fileno.3pcap @@ -35,24 +35,24 @@ If .I p refers to a network device that was opened for a live capture using a combination of -.B pcap_create() +.B pcap_create(3PCAP) and -.BR pcap_activate() , +.BR pcap_activate(3PCAP) , or using -.BR pcap_open_live() , +.BR pcap_open_live(3PCAP) , .B pcap_fileno() returns the file descriptor from which captured packets are read. .LP If .I p refers to a ``savefile'' that was opened using functions such as -.BR pcap_open_offline() +.BR pcap_open_offline(3PCAP) or -.BR pcap_fopen_offline() , +.BR pcap_fopen_offline(3PCAP) , a ``dead'' .B pcap_t opened using -.BR pcap_open_dead() , +.BR pcap_open_dead(3PCAP) , or a .B pcap_t that was created with @@ -61,6 +61,4 @@ but that has not yet been activated with .BR pcap_activate() , it returns \-1. .SH SEE ALSO -pcap(3PCAP), pcap_create(3PCAP), pcap_activate(3PCAP), -pcap_open_live(3PCAP), pcap_open_offline(3PCAP), -\%pcap_fopen_offline(3PCAP), pcap_open_dead(3PCAP) +pcap(3PCAP) -- cgit v1.2.1