Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Nov 2003 10:26:03 +0100 (CET)
From:      Jaromir Dolecek <jdolecek@NetBSD.org>
To:        Bill Studenmund <wrstuden@NetBSD.org>
Cc:        hackers@openbsd.org
Subject:   Re: kqueue, NOTE_EOF
Message-ID:  <200311130926.hAD9Q3jv024862@s102-n054.tele2.cz>
In-Reply-To: <20031112172750.GB14368@netbsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Bill Studenmund wrote:
> I think the difference is in the default behavior. When you're at EOF, I 
> know that poll() will give you a read-availability event, so you'll read 
> the EOF. Will kqueue?

AFAIK yes for sockets, not for file descriptor (i.e. descriptor
open to a file on filesystem). Would poll() give you read-availability
event when on end of file on filesystem.

Jaromir
-- 
Jaromir Dolecek <jdolecek@NetBSD.org>            http://www.NetBSD.cz/
-=- We should be mindful of the potential goal, but as the Buddhist -=-
-=- masters say, ``You may notice during meditation that you        -=-
-=- sometimes levitate or glow.   Do not let this distract you.''   -=-



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