1 /* $Id$
2 *
3 * This file is subject to the terms and conditions of the GNU General Public
4 * License. See the file "COPYING" in the main directory of this archive
5 * for more details.
6 *
7 * Copyright (C) 1998, 1999 Ralf Baechle (ralf@gnu.org)
8 */
9 #ifndef _ASM_POLL_H
10 #define _ASM_POLL_H
11
12 #define POLLIN 0x0001
13 #define POLLPRI 0x0002
14 #define POLLOUT 0x0004
15
16 #define POLLERR 0x0008
17 #define POLLHUP 0x0010
18 #define POLLNVAL 0x0020
19
20 #define POLLRDNORM 0x0040
21 #define POLLRDBAND 0x0080
22 #define POLLWRNORM POLLOUT
23 #define POLLWRBAND 0x0100
24
25 /* XXX This one seems to be more-or-less nonstandard. */
26 #define POLLMSG 0x0400
27
28 struct pollfd {
29 int fd;
30 short events;
31 short revents;
32 };
33
34 #endif /* _ASM_POLL_H */
35
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.