Brian Feldman <gr...@unixhelp.org> writes: > On 13 Jun 1999, Dag-Erling Smorgrav wrote: > > BTW, you should check for errno == EINTR when select() returns -1. > The perror() is the status report for select() when -1.
Yeah, but EINTR is a normal condition, so I'd ignore it silently instead of logging it. Of course, the purpose of this program is to demonstrate select() behaviour, so logging EINTR is valid. DES -- Dag-Erling Smorgrav - d...@flood.ping.uio.no To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message