| Line |  | 
|---|
| 1 | /* $Id: poll.h,v 1.1.1.1 2003/07/02 13:56:58 eleph 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 |  | 
|---|
| 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.