home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
misc
/
volume32
/
pol
/
part01
/
pol.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-10-18
|
521b
|
26 lines
/* sys/pol.h */
#define POL_FDS 0x1234dcba
struct polfd {
int rfds, wfds; /* file desc to poll */
int timeout; /* events of interest on fd */
};
#define NPOLFILE 20
/*#define DONT_HAVE_POLL /* uncomment this out if you don't have poll.h */
#ifdef DONT_HAVE_POLL
/*
* Structure of file descriptor/event pairs supplied in
* the poll arrays.
*/
struct pollfd {
int fd; /* file desc to poll */
short events; /* events of interest on fd */
short revents; /* events that occurred on fd */
};
#endif