NCBI C++ ToolKit
|
Provide poll call where missing. More...
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
struct | pollfd |
Macros | |
#define | _REPLACEMENTS_POLL_H |
#define | FD_SETSIZE OPEN_MAX |
#define | POLLIN 0x0001 |
#define | POLLOUT 0x0004 |
#define | POLLERR 0x0008 |
#define | POLLNORM POLLIN |
#define | POLLPRI POLLIN |
#define | POLLRDNORM POLLIN |
#define | POLLRDBAND POLLIN |
#define | POLLWRNORM POLLOUT |
#define | POLLWRBAND POLLOUT |
#define | POLLHUP 0x0010 |
#define | POLLNVAL 0x0020 |
#define | poll(fds, nfds, timeout) tds_poll(fds, nfds, timeout) |
Typedefs | |
typedef struct pollfd | pollfd_t |
Functions | |
int | tds_poll (struct pollfd fds[], int nfds, int timeout) |
Provide poll call where missing.
Definition in file poll.h.
#define poll | ( | fds, | |
nfds, | |||
timeout | |||
) | tds_poll(fds, nfds, timeout) |
Definition at line 47 of file poll.c.
References assert, pollfd::events, pollfd::fd, FD_SETSIZE, int, mod(), NULL, POLLERR, POLLIN, POLLOUT, and pollfd::revents.