tevent: Add utility function epoll_handle_hup_or_err()
commit4057ef2e11df6f7065f9691d0f388aea56faae45
authorJeremy Allison <jra@samba.org>
Thu, 14 Feb 2013 23:53:38 +0000 (14 15:53 -0800)
committerJeremy Allison <jra@samba.org>
Fri, 1 Mar 2013 20:01:17 +0000 (1 12:01 -0800)
treed5c9a13be6deb24b2ca20fa2438b3099ce395de1
parent8b1a43ece8f056d7063a3d7accc5894f380bd018
tevent: Add utility function epoll_handle_hup_or_err()

We'll use this to handle the EPOLL_ADDITIONAL_FD_FLAG_GOT_ERROR
and EPOLL_ADDITIONAL_FD_FLAG_REPORT_ERROR flags with multiplexed
events in the event loop.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
lib/tevent/tevent_epoll.c