Re: PROBLEM: epoll_wait() returns wrong events for EOF with EPOLLOUT

From: Davide Libenzi
Date: Sat Jul 15 2006 - 18:01:44 EST


On Fri, 14 Jul 2006, Michael Lindner wrote:

On Fri July 14 2006 6:38 pm, Davide Libenzi wrote:
Please take a look at the POSIX docs for poll(2).

My apologies - I had read very incomplete/misleading documentation - that'll
learn me.

So there's just "4. There has been no error on the FD, so why return
EPOLLERR?"

Epoll returns the same conditions poll(2) (and file->f_ops->poll) returns.


- Davide


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/