2 This file is part of libmspframework
3 Copyright © 2006 Mikko Rasa, Mikkosoft Productions
4 Distributed under the LGPL
6 #ifndef MSP_FRAMEWORK_WIN32POLL_H_
7 #define MSP_FRAMEWORK_WIN32POLL_H_
10 // From Linux sys/poll.h
13 int fd; /* File descriptor to poll. */
14 short int events; /* Types of events poller cares about. */
15 short int revents; /* Types of events that actually occurred. */
20 #define POLLIN 0x0001 /* any readable data available */
25 #define POLLNVAL 0x0020 /* requested events "invalid" */