lkml.org 
[lkml]   [2006]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PROBLEM: epoll_wait() returns wrong events for EOF with EPOLLOUT
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-07-16 00:05    [W:0.436 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site