From 89f3b75b72460422b38a4544ab05e711f7b2bb00 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Mon, 3 Nov 2014 00:37:15 +0200 Subject: [PATCH] select: Add defines for EPOLLONESHOT & EPOLLET. --- select/select.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/select/select.py b/select/select.py index b1dfdfc7..4094da30 100644 --- a/select/select.py +++ b/select/select.py @@ -17,6 +17,8 @@ epoll_wait = libc.func("i", "epoll_wait", "ipii") EPOLLIN = 0x001 EPOLLPRI = 0x002 EPOLLOUT = 0x004 +EPOLLONESHOT = 1 << 30 +EPOLLET = 1 << 31 EPOLL_CTL_ADD = 1 EPOLL_CTL_DEL = 2