2 This file is part of libmspframework
3 Copyright © 2006 Mikko Rasa, Mikkosoft Productions
4 Distributed under the LGPL
16 short Pollable::poll(short events, int timeout)
21 pollfd pfd={get_fd(), events, 0};
22 int result=select(&pfd, 1, timeout);
23 int result=::poll(&pfd, 1, timeout);