source: cmedia/trunk/Include/Asm/poll.h@ 354

Last change on this file since 354 was 354, checked in by stevenhl, 17 years ago

Import untested baseline cmedia sources, work products and binaries
Binaries and work products should be deleted from repository.
once new builds are verified to work.

File size: 566 bytes
Line 
1/* $Id: poll.h,v 1.1 2000/04/23 14:55:29 ktk Exp $ */
2
3#ifndef __i386_POLL_H
4#define __i386_POLL_H
5
6/* These are specified by iBCS2 */
7#define POLLIN 0x0001
8#define POLLPRI 0x0002
9#define POLLOUT 0x0004
10#define POLLERR 0x0008
11#define POLLHUP 0x0010
12#define POLLNVAL 0x0020
13
14/* The rest seem to be more-or-less nonstandard. Check them! */
15#define POLLRDNORM 0x0040
16#define POLLRDBAND 0x0080
17#define POLLWRNORM 0x0100
18#define POLLWRBAND 0x0200
19#define POLLMSG 0x0400
20
21struct pollfd {
22 int fd;
23 short events;
24 short revents;
25};
26
27#endif
Note: See TracBrowser for help on using the repository browser.