Skip site navigation (1)Skip section navigation (2)
Date:      13 Jun 1999 18:02:24 +0200
From:      Dag-Erling Smorgrav <des@flood.ping.uio.no>
To:        Brian Feldman <green@unixhelp.org>
Cc:        Dag-Erling Smorgrav <des@flood.ping.uio.no>, hackers@FreeBSD.ORG
Subject:   Re: select(2) breakage
Message-ID:  <xzp4skct7fz.fsf@flood.ping.uio.no>
In-Reply-To: Brian Feldman's message of "Sun, 13 Jun 1999 11:59:55 -0400 (EDT)"
References:  <Pine.BSF.4.10.9906131150400.27047-100000@janus.syracuse.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Brian Feldman <green@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 - des@flood.ping.uio.no


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzp4skct7fz.fsf>