poll() timeout early return?
I have an application running under Solaris 10 x86 3/05 that is
calling poll() on a serial port's file descriptor with a timeout.
The problem is that poll() is returning a "timeout expired" value,
but long before the timeout value indicates it should have returned.
There are no events indicated in the pollfd's revents. I'm sure
I'm missing something subtle as I've never seen poll() behave this
way, but I'm at a loss to figure out what it is.
Does anyone have any insight into this?