• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1POLLIN		0x0001
2POLLPRI		0x0002
3POLLOUT		0x0004
4POLLERR		0x0008
5POLLHUP		0x0010
6POLLNVAL	0x0020
7POLLRDNORM	0x0040
8POLLRDBAND	0x0080
9
10#if defined(__m68k__) || defined(__mips__) || defined(__sparc__) || defined(__xtensa__)
11/* POLLWRNORM	POLLOUT */
12#else
13POLLWRNORM	0x0100
14#endif
15
16#if defined(__m68k__) || defined(__mips__) || defined(__sparc__) || defined(__xtensa__)
17POLLWRBAND	0x0100
18#else
19POLLWRBAND	0x0200
20#endif
21
22#if defined(__sparc__)
23POLLMSG		0x0200
24#else
25POLLMSG		0x0400
26#endif
27
28#if defined(__sparc__)
29POLLREMOVE	0x0400
30#elif defined(__xtensa__)
31POLLREMOVE	0x0800
32#else
33POLLREMOVE	0x1000
34#endif
35
36#if defined(__sparc__)
37POLLRDHUP	0x0800
38#else
39POLLRDHUP	0x2000
40#endif
41
42POLL_BUSY_LOOP	0x8000
43