tevent: Add utility function epoll_handle_hup_or_err()
authorJeremy Allison <jra@samba.org>
Thu, 14 Feb 2013 23:53:38 +0000 (15:53 -0800)
committerStefan Metzmacher <metze@samba.org>
Tue, 26 Feb 2013 15:44:01 +0000 (16:44 +0100)
commita0393ccef3d2acb847224f3dec08dadf6ff05e16
treeb0ece9f96cba12ccead3639e8ca2b3883bf4f6f9
parentf8a95f43320223d082d89b43ca2c226aed5b4c9b
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