Go to the documentation of this file. 5 #if !defined(_tdsguard_g3Yr0q7NdWY6GI4uTB9PNx_) && !defined(HAVE_POLL) 6 #define _tdsguard_g3Yr0q7NdWY6GI4uTB9PNx_ 8 #include <freetds/pushvis.h> 12 # define POLLIN 0x0001 13 # define POLLOUT 0x0004 14 # define POLLERR 0x0008 17 # define POLLNORM POLLIN 18 # define POLLPRI POLLIN 19 # define POLLRDNORM POLLIN 20 # define POLLRDBAND POLLIN 21 # define POLLWRNORM POLLOUT 22 # define POLLWRBAND POLLOUT 25 # define POLLHUP 0x0010 26 # define POLLNVAL 0x0020 38 # if !defined(POLLRDNORM) && !defined(POLLWRNORM) 39 # define POLLIN 0x0300 40 # define POLLOUT 0x0010 41 # define POLLERR 0x0001 42 # define POLLHUP 0x0002 43 # define POLLNVAL 0x0004 44 # define POLLRDNORM 0x0100 45 # define POLLWRNORM 0x0010 52 typedef struct pollfd pollfd_t;
57 int tds_poll(
struct pollfd fds[],
size_t nfds,
int timeout);
58 #define poll(fds, nfds, timeout) tds_poll(fds, nfds, timeout) 60 #include <freetds/popvis.h>