Messages in this thread | | | Date | Sat, 3 Apr 2004 17:28:36 -0800 (PST) | From | Davide Libenzi <> | Subject | Re: Is POLLHUP an input-only or bidirectional condition? (was: epoll reporting events when it hasn't been asked to) |
| |
On Sat, 3 Apr 2004, Jamie Lokier wrote:
> Btw, I notice epoll never reports POLLNVAL. Is that correct?
Yep, epoll does not allow you to push an invalid/unopen file descriptor inside the set. So you get an EBADF from epoll_ctl().
- 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/
| |