#ifndef AUTO_IOPAUSE_H #define AUTO_IOPAUSE_H #define IOPAUSE_SYS_SELECT_H /* systype-info */ #include #include #include #undef IOPAUSE_POLL /* systype-info */ typedef struct { int fd; short events; short revents; } iopause_fd; #define IOPAUSE_READ 1 #define IOPAUSE_WRITE 4 #endif