|
|
1 | #if defined(HAVE_SYS_POLL_H) && defined(HAVE_POLL) |
|
|
2 | /* nothing to do, all is well, gore is president. */ |
|
|
3 | #else |
|
|
4 | |
1 | /*---------------------------------------------------------------------------*\ |
5 | /*---------------------------------------------------------------------------*\ |
2 | $Id: poll.c,v 1.1 2003/10/14 17:24:19 pcg Exp $ |
6 | $Id: poll.c,v 1.2 2003/10/14 19:14:27 pcg Exp $ |
3 | |
7 | |
4 | NAME |
8 | NAME |
5 | |
9 | |
6 | poll - select(2)-based poll() emulation function for BSD systems. |
10 | poll - select(2)-based poll() emulation function for BSD systems. |
7 | |
11 | |
… | |
… | |
69 | |
73 | |
70 | /*---------------------------------------------------------------------------*\ |
74 | /*---------------------------------------------------------------------------*\ |
71 | Includes |
75 | Includes |
72 | \*---------------------------------------------------------------------------*/ |
76 | \*---------------------------------------------------------------------------*/ |
73 | |
77 | |
74 | #if defined(HAVE_SYS_POLL_H) && defined(HAVE_POLL) |
|
|
75 | |
|
|
76 | #include <unistd.h> /* standard Unix definitions */ |
78 | #include <unistd.h> /* standard Unix definitions */ |
77 | #include <sys/types.h> /* system types */ |
79 | #include <sys/types.h> /* system types */ |
78 | #include <sys/time.h> /* time definitions */ |
80 | #include <sys/time.h> /* time definitions */ |
79 | #include <assert.h> /* assertion macros */ |
81 | #include <assert.h> /* assertion macros */ |
80 | #include <string.h> /* string functions */ |
82 | #include <string.h> /* string functions */ |