summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2022-12-08 12:25:40 -0800
committerGuy Harris <gharris@sonic.net>2022-12-08 12:26:16 -0800
commit8fdfc9377dc7a77a3ec25b88aecb493dda751473 (patch)
tree4dcb9b4f53346392f07e4993aff01d5cdac370ef
parent8ae5c3e4ccc7b800934e5ec0d1b3037353628303 (diff)
downloadlibpcap-8fdfc9377dc7a77a3ec25b88aecb493dda751473.tar.gz
pcap_breakloop(3PCAP): describe behavior of versions in older libpcaps. [skip cp]
(cherry picked from commit 44e5b6527690b1f7f74ce828da4cbe06bc7b0acf)
-rw-r--r--pcap_breakloop.3pcap9
1 files changed, 8 insertions, 1 deletions
diff --git a/pcap_breakloop.3pcap b/pcap_breakloop.3pcap
index f2fc6e80..6b7e38fc 100644
--- a/pcap_breakloop.3pcap
+++ b/pcap_breakloop.3pcap
@@ -17,7 +17,7 @@
.\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.\"
-.TH PCAP_BREAKLOOP 3PCAP "7 December 2022"
+.TH PCAP_BREAKLOOP 3PCAP "8 December 2022"
.SH NAME
pcap_breakloop \- force a pcap_dispatch() or pcap_loop() call to return
.SH SYNOPSIS
@@ -137,5 +137,12 @@ If a positive number is returned, the flag is not cleared, so a
subsequent call will return
.B PCAP_ERROR_BREAK
and clear the flag.
+.SH BACKWARD COMPATIBILITY
+.PP
+This function became available in libpcap release 0.8.1.
+.PP
+In releases prior to libpcap 1.10.0,
+.BR pcap_breakloop ()
+will not wake up a blocked thread on any platform.
.SH SEE ALSO
.BR pcap (3PCAP)