Go to the documentation of this file.
22 #include <sys/epoll.h>
24 #define WS_COMPLETE ((int)0x01)
25 #define WS_INCOMPLETE_READ ((int)0x02)
26 #define WS_INCOMPLETE_WRITE ((int)0x04)
27 #define WS_ERROR ((int)0x08)
40 #define RTN_TO_EVT(rtn__) (rtn__ & WS_INCOMPLETE_READ ? EPOLLIN : 0) | \
41 (rtn__ & WS_INCOMPLETE_WRITE ? EPOLLOUT : 0)