mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime/internal/syscall: merge duplicate constants
Change-Id: Ifdc6e22d52317cdb90a607ac4d72437d4d6b33e8 Reviewed-on: https://go-review.googlesource.com/c/go/+/564716 Auto-Submit: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
This commit is contained in:
parent
d068c2cb62
commit
a3c35430fc
11 changed files with 21 additions and 111 deletions
|
|
@ -14,17 +14,7 @@ const (
|
|||
SYS_EPOLL_PWAIT2 = 5441
|
||||
SYS_EVENTFD2 = 5284
|
||||
|
||||
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_NONBLOCK = 0x80
|
||||
EFD_NONBLOCK = 0x80
|
||||
)
|
||||
|
||||
type EpollEvent struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue