From eb097eb48273ccf1830c2e74639ce9069a4f9f3a Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 2 Mar 2009 21:10:01 +0000 Subject: Add EPOLLRDHUP constant --- libc/sysdeps/linux/common/sys/epoll.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libc') diff --git a/libc/sysdeps/linux/common/sys/epoll.h b/libc/sysdeps/linux/common/sys/epoll.h index 68f173a04..44e814bfd 100644 --- a/libc/sysdeps/linux/common/sys/epoll.h +++ b/libc/sysdeps/linux/common/sys/epoll.h @@ -45,6 +45,8 @@ enum EPOLL_EVENTS #define EPOLLERR EPOLLERR EPOLLHUP = 0x010, #define EPOLLHUP EPOLLHUP + EPOLLRDHUP = 0x2000, +#define EPOLLRDHUP EPOLLRDHUP EPOLLONESHOT = (1 << 30), #define EPOLLONESHOT EPOLLONESHOT EPOLLET = (1 << 31) -- cgit v1.2.3