OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-mips64/] [poll.h] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
/*
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 */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.