select: Add defines for EPOLLONESHOT & EPOLLET.

pull/11/head
Paul Sokolovsky 2014-11-03 00:37:15 +02:00
rodzic 610aa65cef
commit 89f3b75b72
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -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