make oldconfig will rebuild these...
[linux-2.4.21-pre4.git] / include / asm-mips64 / poll.h
1 /*
2  * This file is subject to the terms and conditions of the GNU General Public
3  * License.  See the file "COPYING" in the main directory of this archive
4  * for more details.
5  *
6  * Copyright (C) 1998, 1999 Ralf Baechle (ralf@gnu.org)
7  */
8 #ifndef _ASM_POLL_H
9 #define _ASM_POLL_H
10
11 #define POLLIN          0x0001
12 #define POLLPRI         0x0002
13 #define POLLOUT         0x0004
14
15 #define POLLERR         0x0008
16 #define POLLHUP         0x0010
17 #define POLLNVAL        0x0020
18
19 #define POLLRDNORM      0x0040
20 #define POLLRDBAND      0x0080
21 #define POLLWRNORM      POLLOUT
22 #define POLLWRBAND      0x0100
23
24 /* XXX This one seems to be more-or-less nonstandard.  */
25 #define POLLMSG         0x0400
26
27 struct pollfd {
28         int fd;
29         short events;
30         short revents;
31 };
32
33 #endif /* _ASM_POLL_H */