]> The Tcpdump Group git mirrors - libpcap/commitdiff
improve some man pages formatting
authorDenis Ovsienko <[email protected]>
Wed, 25 Jan 2017 16:57:26 +0000 (16:57 +0000)
committerDenis Ovsienko <[email protected]>
Wed, 25 Jan 2017 16:58:49 +0000 (16:58 +0000)
In some man pages the roff processor hyphenated function names in the
"SEE ALSO" section, add markup to prevent that. Also disable line
adjustment in pcap-tstamp.manmisc to suppress the warning:

<standard input>:171: warning [p 2, 11.0i]: cannot adjust line

pcap-tstamp.manmisc.in
pcap_dump_open.3pcap.in
pcap_fileno.3pcap
pcap_open_dead.3pcap.in
pcap_set_timeout.3pcap

index 2e1ef61d1f46e3c207e3b496ff42bf9ff55a4b18..38c56518334e6fd0b077bee33834419cbe03650e 100644 (file)
@@ -165,11 +165,13 @@ the time stamp supplied by the hardware or operating system and, when
 reading a savefile, this does not indicate the actual precision of time
 stamps in the file.
 .SH SEE ALSO
+.na
 pcap_set_tstamp_type(3PCAP),
 pcap_list_tstamp_types(3PCAP),
 pcap_tstamp_type_val_to_name(3PCAP),
 pcap_tstamp_type_name_to_val(3PCAP),
 pcap_set_tstamp_precision(3PCAP),
 pcap_open_offline_with_tstamp_precision(3PCAP),
-pcap_fopen_offline_with_tstamp_precision(3PCAP),
-pcap_get_tstamp_precision(3PCAP)
+\%pcap_fopen_offline_with_tstamp_precision(3PCAP),
+\%pcap_get_tstamp_precision(3PCAP)
+.ad
index 3f91d13bf88a578d596d4cdf2724967507ee1877..80d1a5c62c5de254ea7e526140bd31d62d8056f4 100644 (file)
@@ -91,6 +91,6 @@ is returned,
 can be used to get the error text.
 .SH SEE ALSO
 pcap(3PCAP), pcap_create(3PCAP), pcap_activate(3PCAP),
-pcap_open_offline(3PCAP), pcap_open_live(3PCAP), pcap_open_dead(3PCAP),
+\%pcap_open_offline(3PCAP), pcap_open_live(3PCAP), pcap_open_dead(3PCAP),
 pcap_dump(3PCAP), pcap_dump_close(3PCAP), pcap_geterr(3PCAP),
-pcap-savefile(@MAN_FILE_FORMATS@)
+\%pcap-savefile(@MAN_FILE_FORMATS@)
index 7aeb06947b1be3ca9b3d30a9753c136f9311b7ed..e8c9ac4d4ac6098d2444363d47fc2f9ca74235fe 100644 (file)
@@ -63,4 +63,4 @@ 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_fopen_offline(3PCAP), pcap_open_dead(3PCAP)
index a3dc5921074bdad5900df0395699fb6ae9ef128f..621e75b5b58a1b1225936b725f5f865f47f02024 100644 (file)
@@ -76,4 +76,4 @@ seconds and nanoseconds.  Its value does not affect
 .BR pcap_compile() .
 .SH SEE ALSO
 pcap(3PCAP), pcap_compile(3PCAP), pcap_dump_open(3PCAP),
-pcap-linktype(@MAN_MISC_INFO@)
+\%pcap-linktype(@MAN_MISC_INFO@)
index dd7184833ca5e4233db8375925bc1fde7c5d7c99..f8e696f0bf799526528d238302cd962958080294 100644 (file)
@@ -49,4 +49,4 @@ returns 0 on success or
 if called on a capture handle that has been activated.
 .SH SEE ALSO
 pcap(3PCAP), pcap_create(3PCAP), pcap_activate(3PCAP),
-pcap_set_immediate_mode(3PCAP)
+\%pcap_set_immediate_mode(3PCAP)