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>
Fri, 1 Mar 2013 17:51:57 +0000 (18:51 +0100)
commit941ee248edd95f5c26fe922c6cbad997d3aaa333
tree228292250c741c37b9392472bbaf340e7604045c
parentab1f5111ee4fb14ff6f73bdc4d8cec231ce29b6f
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