The Android Open Source Project | a27d2ba | 2008-10-21 07:00:00 -0700 | [diff] [blame^] | 1 | /**************************************************************************** |
| 2 | **************************************************************************** |
| 3 | *** |
| 4 | *** This header was automatically generated from a Linux kernel header |
| 5 | *** of the same name, to make information necessary for userspace to |
| 6 | *** call into the kernel available to libc. It contains only constants, |
| 7 | *** structures, and macros generated from the original header, and thus, |
| 8 | *** contains no copyrightable information. |
| 9 | *** |
| 10 | **************************************************************************** |
| 11 | ****************************************************************************/ |
| 12 | #ifndef __ASMARM_POLL_H |
| 13 | #define __ASMARM_POLL_H |
| 14 | |
| 15 | #define POLLIN 0x0001 |
| 16 | #define POLLPRI 0x0002 |
| 17 | #define POLLOUT 0x0004 |
| 18 | #define POLLERR 0x0008 |
| 19 | #define POLLHUP 0x0010 |
| 20 | #define POLLNVAL 0x0020 |
| 21 | |
| 22 | #define POLLRDNORM 0x0040 |
| 23 | #define POLLRDBAND 0x0080 |
| 24 | #define POLLWRNORM 0x0100 |
| 25 | #define POLLWRBAND 0x0200 |
| 26 | #define POLLMSG 0x0400 |
| 27 | #define POLLREMOVE 0x1000 |
| 28 | #define POLLRDHUP 0x2000 |
| 29 | |
| 30 | struct pollfd { |
| 31 | int fd; |
| 32 | short events; |
| 33 | short revents; |
| 34 | }; |
| 35 | |
| 36 | #endif |