Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Nov 2000 02:12:45 +1000 (EST)
From:      andrew@ugh.net.au
To:        Terry Lambert <tlambert@primenet.com>
Cc:        "Andresen, Jason R." <jandrese@mitre.org>, Joe Greco <jgreco@ns.sol.net>, Greg Black <gjb@gbch.net>, hackers@FreeBSD.ORG, ryan@sasknow.com
Subject:   Re: Logging users out
Message-ID:  <Pine.BSF.4.21.0011050206230.12433-100000@starbug.ugh.net.au>
In-Reply-To: <200010310809.BAA27414@usr02.primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 31 Oct 2000, Terry Lambert wrote:

> not noticing that read was returning 0 (which is returned on EOF,
> but is also returned on perfectly goo non-blocking fds, and in the

If you read from a non blocking fd (and there is nothing to read) don't
you get -1 and errno = EAGAIN?

> case that vmin is set to zero to effect a timed poll via vtime).

That seems to be a problem.

Andrew



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?Pine.BSF.4.21.0011050206230.12433-100000>