123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- #ifndef _SYS_POLL_H
- # error "Never use <bits/poll.h> directly; include <sys/poll.h> instead."
- #endif
- #define POLLIN 0x001
- #define POLLPRI 0x002
- #define POLLOUT 0x004
- #ifdef __USE_XOPEN
- # define POLLRDNORM 0x040
- # define POLLRDBAND 0x080
- # define POLLWRNORM POLLOUT
- # define POLLWRBAND 0x100
- #endif
- #ifdef __USE_GNU
- # define POLLMSG 0x200
- # define POLLREMOVE 0x400
- # define POLLRDHUP 0x800
- #endif
- #define POLLERR 0x008
- #define POLLHUP 0x010
- #define POLLNVAL 0x020
|