// POSIX poll declarations supported by nt-lite. #pragma once #include typedef unsigned long nfds_t; struct pollfd { int fd; short events; short revents; }; #define POLLIN 0x0001 #define POLLOUT 0x0002 #define POLLERR 0x0004 #define POLLHUP 0x0008 #define POLLNVAL 0x0010 NTL_POSIX_API int poll(struct pollfd* descriptors, nfds_t count, int timeout);