Commit | Line | Data |
---|---|---|
dc0d77d7 CE |
1 | #ifndef IOPAUSE_H |
2 | #define IOPAUSE_H | |
3 | ||
4 | /* sysdep: +poll */ | |
5 | #define IOPAUSE_POLL | |
6 | ||
7 | #include <sys/types.h> | |
8 | #include <poll.h> | |
9 | ||
10 | typedef struct pollfd iopause_fd; | |
11 | #define IOPAUSE_READ POLLIN | |
12 | #define IOPAUSE_WRITE POLLOUT | |
13 | ||
14 | #include "taia.h" | |
15 | ||
16 | extern void iopause(iopause_fd *,unsigned int,struct taia *,struct taia *); | |
17 | ||
18 | #endif |