Last change
on this file was 142, checked in by ktk, 25 years ago |
Import
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
496 bytes
|
Rev | Line | |
---|
[142] | 1 | /* $Id: poll.h 142 2000-04-23 14:55:46Z ktk $ */
|
---|
| 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 |
|
---|
| 21 | struct pollfd {
|
---|
| 22 | int fd;
|
---|
| 23 | short events;
|
---|
| 24 | short revents;
|
---|
| 25 | };
|
---|
| 26 |
|
---|
| 27 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.