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 18:54:50 +0000 (19:54 +0100)
commitce4158f83ba1078f451e6e263468bee0297e45b6
treed5c9a13be6deb24b2ca20fa2438b3099ce395de1
parent7c89dd893571e9226c813b45cb0b8be39729fdae
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