aboutsummaryrefslogtreecommitdiff
path: root/pcap_get_required_select_timeout.3pcap
diff options
context:
space:
mode:
authorDenis Ovsienko <denis@ovsienko.info>2020-08-21 19:54:55 +0100
committerDenis Ovsienko <denis@ovsienko.info>2020-08-21 19:54:55 +0100
commit011ac98ff8857872b6318b481e4081e8bf5493d5 (patch)
treedc601c66328ec21d9136459957267efa6845518e /pcap_get_required_select_timeout.3pcap
parentb21fe86991032e95d58de95f33354421d9858edb (diff)
man: Format more special constants bold. [skip ci]
Some man pages used bold font for special meaning constants (e.g. -1 for infinity, 0 for false, 1 for true, NULL), but some didn't. Make the formatting consistently bold, but leave ordinary constants (number of packets in a buffer, a timeout, a buffer size) intact.
Diffstat (limited to 'pcap_get_required_select_timeout.3pcap')
-rw-r--r--pcap_get_required_select_timeout.3pcap9
1 files changed, 6 insertions, 3 deletions
diff --git a/pcap_get_required_select_timeout.3pcap b/pcap_get_required_select_timeout.3pcap
index 4c7e7e63..e70bc02a 100644
--- a/pcap_get_required_select_timeout.3pcap
+++ b/pcap_get_required_select_timeout.3pcap
@@ -105,7 +105,7 @@ timeout was returned, regardless of whether it's indicated as having
anything to read from it or not.
.PP
All devices with a
-.RB non-NULL
+.RB non- NULL
timeout must be put in non-blocking mode with
.BR pcap_setnonblock (3PCAP).
.PP
@@ -115,7 +115,9 @@ timeout has expired. A call to
.BR pcap_dispatch ()
or
.BR pcap_next_ex (3PCAP)
-will return 0 in this case, but will not block.
+will return
+.B 0
+in this case, but will not block.
.PP
.BR pcap_get_required_select_timeout ()
is not available on Windows.
@@ -135,7 +137,8 @@ and
.BR kevent ()
cannot be used on any capture source for which
.BR pcap_get_selectable_fd ()
-returns \-1.
+returns
+.BR \-1 .
.PP
In libpcap release 1.10.0 and later, the timeout value can change from
call to call, so