summaryrefslogtreecommitdiff
path: root/pcap_stats.3pcap
diff options
context:
space:
mode:
authorDenis Ovsienko <denis@ovsienko.info>2018-07-25 16:32:12 +0000
committerDenis Ovsienko <denis@ovsienko.info>2018-07-25 16:32:49 +0000
commit6e15abcfff9504c9c26c249db56179c4c26c1b16 (patch)
tree4d31617d075291e961a4f26ba01797698421e5e9 /pcap_stats.3pcap
parentf19ee14e460e63143c2ba4e4442b7226c769f79c (diff)
downloadlibpcap-6e15abcfff9504c9c26c249db56179c4c26c1b16.tar.gz
Spell PCAP_ERROR and PCAP_ERROR_BREAK in the man pages.
[skip ci]
Diffstat (limited to 'pcap_stats.3pcap')
-rw-r--r--pcap_stats.3pcap11
1 files changed, 7 insertions, 4 deletions
diff --git a/pcap_stats.3pcap b/pcap_stats.3pcap
index f10ba832..465dada4 100644
--- a/pcap_stats.3pcap
+++ b/pcap_stats.3pcap
@@ -17,7 +17,7 @@
.\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.\"
-.TH PCAP_STATS 3PCAP "3 January 2014"
+.TH PCAP_STATS 3PCAP "25 July 2018"
.SH NAME
pcap_stats \- get capture statistics
.SH SYNOPSIS
@@ -83,10 +83,13 @@ statistic is unavailable, so it should not be treated as an indication
that the interface did not drop any packets.
.SH RETURN VALUE
.B pcap_stats()
-returns 0 on success and returns \-1 if there is an error or if
+returns 0 on success and returns
+.B PCAP_ERROR
+if there is an error or if
.I p
-doesn't support packet statistics.
-If \-1 is returned,
+doesn't support packet statistics. If
+.B PCAP_ERROR
+is returned,
.B pcap_geterr(3PCAP)
or
.B pcap_perror(3PCAP)