On 23 Jun 2000, Sai-Lai Lo wrote: > The following code should correct the behaviour. The down side is we have > to take a performance hit in doing 2 system calls instead of 1. I just > hope poll() is not as costly as a select(). Unless the implementation is _really_ stupid, it should be much better than select for a single fd. David