/*
* We don't support non-blocking mode. I'm not sure what we'd
* do to support it and, given that we don't support select()/
- * poll()/epoll()/kqueue watch etc., it probably doesn't
+ * poll()/epoll_wait()/kevent() etc., it probably doesn't
* matter.
*/
static int
#ifndef _WIN32
/*
- * Unfortunately, trying to do a select()/poll()/epoll()/
- * kqueue watch/etc. on a D-Bus connection isn't a simple
+ * Unfortunately, trying to do a select()/poll()/epoll_wait()/
+ * kevent()/etc. on a D-Bus connection isn't a simple
* case of "give me an FD on which to wait".
*
* Apparently, you have to register "add watch", "remove watch",
int bpf_codegen_flags;
#ifndef _WIN32
- int selectable_fd; /* FD on which select()/poll()/epoll()/kevent()/etc. can be done */
+ int selectable_fd; /* FD on which select()/poll()/epoll_wait()/kevent()/etc. can be done */
/*
* In case there either is no selectable FD, or there is but
* it doesn't necessarily work (e.g., if it doesn't get notified
* if the packet capture timeout expires before the buffer
* fills up), this points to a timeout that should be used
- * in select()/poll()/epoll()/kevent() call. The pcap_t should
+ * in select()/poll()/epoll_wait()/kevent() call. The pcap_t should
* be put into non-blocking mode, and, if the timeout expires on
* the call, an attempt should be made to read packets from all
* pcap_t's with a required timeout, and the code must be
/*
* We don't support non-blocking mode. I'm not sure what we'd
* do to support it and, given that we don't support select()/
- * poll()/epoll()/kqueue watch etc., it probably doesn't
+ * poll()/epoll_wait()/kevent() etc., it probably doesn't
* matter.
*/
static int
containing a value that must be used as the minimum timeout in
.BR select() ,
.BR poll() ,
-.BR epoll() ,
+.BR epoll_wait() ,
and
.B kevent()
calls if
when the
.BR select() ,
.BR poll() ,
-.BR epoll() ,
+.BR epoll_wait() ,
or
.B kevent()
call returns.
is returned.
.SH SEE ALSO
pcap(3PCAP), pcap_get_selectable_fd(3PCAP), select(2), poll(2),
-epoll(2), kqueue(2)
+epoll_wait(2), kqueue(2)
do a
.BR select() ,
.BR poll() ,
-.BR epoll() ,
+.BR epoll_wait() ,
.BR kevent() ,
or other such call
to wait for it to be possible to read packets without blocking, if such
is returned.
.SH SEE ALSO
pcap(3PCAP), pcap_get_required_select_timeout(3PCAP),
-pcap_setnonblock(3PCAP), select(2), poll(2), epoll(2), kqueue(2)
+pcap_setnonblock(3PCAP), select(2), poll(2), epoll_wait(2), kqueue(2)