diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-03-02 21:10:01 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-03-02 21:10:01 +0000 |
commit | eb097eb48273ccf1830c2e74639ce9069a4f9f3a (patch) | |
tree | 1241a67c2555cb16295eea1413afdcfb198b8e61 /libc/sysdeps/linux/common | |
parent | f5773054ef6420f52887bfa2c8dd1a40423e2187 (diff) |
Add EPOLLRDHUP constant
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r-- | libc/sysdeps/linux/common/sys/epoll.h | 2 |
1 files changed, 2 insertions, 0 deletions
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) |