Revert "Roll NDK to r11c and extract it into its own repository."
[android_tools.git] / ndk / platforms / android-18 / arch-arm / usr / include / asm / poll.h
blobc5b80a5ff407e24c7b7755aa48d0e39be6fd1375
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
15 #define POLLIN 0x0001
16 #define POLLPRI 0x0002
17 #define POLLOUT 0x0004
18 #define POLLERR 0x0008
19 #define POLLHUP 0x0010
20 #define POLLNVAL 0x0020
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
30 struct pollfd {
31 int fd;
32 short events;
33 short revents;
36 #endif