3 #include "libmemcached-1/platform.h"
5 #if defined HAVE_POLL_H
7 #elif defined HAVE_SYS_POLL_H
14 # define P9Y_NEED_POLL
20 typedef struct pollfd {
32 # define POLLIN 0x0001
33 # define POLLOUT 0x0004
34 # define POLLERR 0x0008
35 # define POLLHUP 0x010 /* Hung up. */
36 # define POLLNVAL 0x020 /* Invalid polling request. */
38 int poll(struct pollfd fds[], nfds_t nfds, int tmo);