4 #include <mono/utils/mono-publib.h>
10 #include <sys/types.h>
18 #elif defined(HAVE_SYS_POLL_H)
22 #define MONO_POLLIN POLLIN
23 #define MONO_POLLPRI POLLPRI
24 #define MONO_POLLOUT POLLOUT
25 #define MONO_POLLERR POLLERR
26 #define MONO_POLLHUP POLLHUP
27 #define MONO_POLLNVAL POLLNVAL
29 typedef struct pollfd mono_pollfd
;
37 #define MONO_POLLPRI 2
38 #define MONO_POLLOUT 4
39 #define MONO_POLLERR 8
40 #define MONO_POLLHUP 0x10
41 #define MONO_POLLNVAL 0x20
51 MONO_API
int mono_poll (mono_pollfd
*ufds
, unsigned int nfds
, int timeout
);
53 #endif /* MONO_POLL_H */