aboutsummaryrefslogtreecommitdiff
path: root/pcap_findalldevs.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_findalldevs.3pcap
parentf19ee14e460e63143c2ba4e4442b7226c769f79c (diff)
Spell PCAP_ERROR and PCAP_ERROR_BREAK in the man pages.
[skip ci]
Diffstat (limited to 'pcap_findalldevs.3pcap')
-rw-r--r--pcap_findalldevs.3pcap11
1 files changed, 7 insertions, 4 deletions
diff --git a/pcap_findalldevs.3pcap b/pcap_findalldevs.3pcap
index e2bd12bb..dc52c2e8 100644
--- a/pcap_findalldevs.3pcap
+++ b/pcap_findalldevs.3pcap
@@ -17,7 +17,7 @@
.\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.\"
-.TH PCAP_FINDALLDEVS 3PCAP "29 April 2018"
+.TH PCAP_FINDALLDEVS 3PCAP "25 July 2018"
.SH NAME
pcap_findalldevs, pcap_freealldevs \- get a list of capture devices, and
free that list
@@ -199,10 +199,13 @@ which frees the list pointed to by
.IR alldevs .
.SH RETURN VALUE
.B pcap_findalldevs()
-returns 0 on success and \-1 on failure; as indicated, finding no
+returns 0 on success and
+.B PCAP_ERROR
+on failure; as indicated, finding no
devices is considered success, rather than failure, so 0 will be
-returned in that case.
-If \-1 is returned,
+returned in that case. If
+.B PCAP_ERROR
+is returned,
.I errbuf
is filled in with an appropriate error message.
.I errbuf