diff options
Diffstat (limited to 'src/runtime/internal/syscall/defs_linux.go')
| -rw-r--r-- | src/runtime/internal/syscall/defs_linux.go | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/runtime/internal/syscall/defs_linux.go b/src/runtime/internal/syscall/defs_linux.go index 242a67b4bc..b2e36a244f 100644 --- a/src/runtime/internal/syscall/defs_linux.go +++ b/src/runtime/internal/syscall/defs_linux.go @@ -5,5 +5,15 @@ package syscall const ( - EFD_CLOEXEC = 0x80000 + EPOLLIN = 0x1 + EPOLLOUT = 0x4 + EPOLLERR = 0x8 + EPOLLHUP = 0x10 + EPOLLRDHUP = 0x2000 + EPOLLET = 0x80000000 + EPOLL_CLOEXEC = 0x80000 + EPOLL_CTL_ADD = 0x1 + EPOLL_CTL_DEL = 0x2 + EPOLL_CTL_MOD = 0x3 + EFD_CLOEXEC = 0x80000 ) |
