Poll
From PortaWiki
Some platforms don't have a poll(2) syscall (or equivalent library function), since it's not part of POSIX (it's a BSDism).
This is known to include:
- MacOS X 10.2
- QNX version 4
- Windows
If you need it and don't want to change to select(2) (which is in POSIX) then the compatibility library in OpenNTPD has a replacement built around select(2) that may be freely reused (2-term BSD and ISC license).
There are reports that even though MacOS X 10.0 and 10.1 had a poll(2), it was buggy. The number of these systems in production however is probably close to zero.
autoconf
You can check for HAVE_POLL
Windows
There is WSAPoll which can be used instead.
