Re: can select with infinite timeout return 0

Andy Sloane (andude@guildsoftware.com)
Fri, 7 Aug 1998 00:12:08 -0500


On Thu, Aug 06, 1998 at 01:42:41PM -0500, Andy Sloane wrote:

> What you can do is check errno for EINTR and repeat the select call
> if necessary.

Ack. Duh. Yeah, so far I've gotten three emails stating that
select returns 0, not -1, so there is technically no error to check errno
for. Sorry for wasting bandwidth; I shall return to lurking.

-Andy.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html