summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2006-09-09 15:46:23 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2006-09-09 15:46:23 +0000
commiteffcdf340df6a6591f39bb493dc3bee22c3d7498 (patch)
treea9184d2a6bd387ceca7561ae37ae91ddebd17365
parentc5a897d8952bb6b8ec9846f4d621355225c684c9 (diff)
document pcap_get_selectable_fd(); MLINK will happen after unlock
from okan demirmen; ok djm
-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