summaryrefslogtreecommitdiff
path: root/pcap_set_snaplen.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_set_snaplen.3pcap
parentb21fe86991032e95d58de95f33354421d9858edb (diff)
downloadlibpcap-011ac98ff8857872b6318b481e4081e8bf5493d5.tar.gz
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_set_snaplen.3pcap')
-rw-r--r--pcap_set_snaplen.3pcap4
1 files changed, 3 insertions, 1 deletions
diff --git a/pcap_set_snaplen.3pcap b/pcap_set_snaplen.3pcap
index 5efd4438..e3acff15 100644
--- a/pcap_set_snaplen.3pcap
+++ b/pcap_set_snaplen.3pcap
@@ -37,7 +37,9 @@ is activated to
.IR snaplen .
.SH RETURN VALUE
.BR pcap_set_snaplen ()
-returns 0 on success or
+returns
+.B 0
+on success or
.B PCAP_ERROR_ACTIVATED
if called on a capture handle that has been activated.
.SH SEE ALSO