summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libpcap/pcap.38
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libpcap/pcap.3 b/lib/libpcap/pcap.3
index 5e35c94d456..1429136d916 100644
--- a/lib/libpcap/pcap.3
+++ b/lib/libpcap/pcap.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pcap.3,v 1.28 2006/03/26 20:58:51 djm Exp $
+.\" $OpenBSD: pcap.3,v 1.29 2006/09/09 15:46:22 jmc Exp $
.\"
.\" Copyright (c) 1994, 1996, 1997
.\" The Regents of the University of California. All rights reserved.
@@ -77,6 +77,8 @@
.Fn pcap_file "pcap_t *p"
.Ft int
.Fn pcap_fileno "pcap_t *p"
+.Ft int
+.Fn pcap_get_selectable_fd "pcap_t *"
.Ft void
.Fn pcap_perror "pcap_t *p" "char *prefix"
.Ft "char *"
@@ -393,7 +395,9 @@ or
.Fn pcap_geterr .
.Pp
.Fn pcap_fileno
-returns the file descriptor number of the savefile.
+and
+.Fn pcap_get_selectable_fd
+return the file descriptor number of the savefile.
.Pp
.Fn pcap_perror
prints the text of the last pcap library error on