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
|
|
@ -5,5 +5,15 @@
|
||||||
package syscall
|
package syscall
|
||||||
|
|
||||||
const (
|
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
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -12,17 +12,7 @@ const (
|
||||||
SYS_EPOLL_PWAIT2 = 441
|
SYS_EPOLL_PWAIT2 = 441
|
||||||
SYS_EVENTFD2 = 328
|
SYS_EVENTFD2 = 328
|
||||||
|
|
||||||
EPOLLIN = 0x1
|
EFD_NONBLOCK = 0x800
|
||||||
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 = 0x800
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type EpollEvent struct {
|
type EpollEvent struct {
|
||||||
|
|
|
||||||
|
|
@ -12,17 +12,7 @@ const (
|
||||||
SYS_EPOLL_PWAIT2 = 441
|
SYS_EPOLL_PWAIT2 = 441
|
||||||
SYS_EVENTFD2 = 290
|
SYS_EVENTFD2 = 290
|
||||||
|
|
||||||
EPOLLIN = 0x1
|
EFD_NONBLOCK = 0x800
|
||||||
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 = 0x800
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type EpollEvent struct {
|
type EpollEvent struct {
|
||||||
|
|
|
||||||
|
|
@ -12,17 +12,7 @@ const (
|
||||||
SYS_EPOLL_PWAIT2 = 441
|
SYS_EPOLL_PWAIT2 = 441
|
||||||
SYS_EVENTFD2 = 356
|
SYS_EVENTFD2 = 356
|
||||||
|
|
||||||
EPOLLIN = 0x1
|
EFD_NONBLOCK = 0x800
|
||||||
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 = 0x800
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type EpollEvent struct {
|
type EpollEvent struct {
|
||||||
|
|
|
||||||
|
|
@ -12,17 +12,7 @@ const (
|
||||||
SYS_EPOLL_PWAIT2 = 441
|
SYS_EPOLL_PWAIT2 = 441
|
||||||
SYS_EVENTFD2 = 19
|
SYS_EVENTFD2 = 19
|
||||||
|
|
||||||
EPOLLIN = 0x1
|
EFD_NONBLOCK = 0x800
|
||||||
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 = 0x800
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type EpollEvent struct {
|
type EpollEvent struct {
|
||||||
|
|
|
||||||
|
|
@ -12,17 +12,7 @@ const (
|
||||||
SYS_EPOLL_PWAIT2 = 441
|
SYS_EPOLL_PWAIT2 = 441
|
||||||
SYS_EVENTFD2 = 19
|
SYS_EVENTFD2 = 19
|
||||||
|
|
||||||
EPOLLIN = 0x1
|
EFD_NONBLOCK = 0x800
|
||||||
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 = 0x800
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type EpollEvent struct {
|
type EpollEvent struct {
|
||||||
|
|
|
||||||
|
|
@ -14,17 +14,7 @@ const (
|
||||||
SYS_EPOLL_PWAIT2 = 5441
|
SYS_EPOLL_PWAIT2 = 5441
|
||||||
SYS_EVENTFD2 = 5284
|
SYS_EVENTFD2 = 5284
|
||||||
|
|
||||||
EPOLLIN = 0x1
|
EFD_NONBLOCK = 0x80
|
||||||
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
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type EpollEvent struct {
|
type EpollEvent struct {
|
||||||
|
|
|
||||||
|
|
@ -14,17 +14,7 @@ const (
|
||||||
SYS_EPOLL_PWAIT2 = 4441
|
SYS_EPOLL_PWAIT2 = 4441
|
||||||
SYS_EVENTFD2 = 4325
|
SYS_EVENTFD2 = 4325
|
||||||
|
|
||||||
EPOLLIN = 0x1
|
EFD_NONBLOCK = 0x80
|
||||||
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
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type EpollEvent struct {
|
type EpollEvent struct {
|
||||||
|
|
|
||||||
|
|
@ -14,17 +14,7 @@ const (
|
||||||
SYS_EPOLL_PWAIT2 = 441
|
SYS_EPOLL_PWAIT2 = 441
|
||||||
SYS_EVENTFD2 = 314
|
SYS_EVENTFD2 = 314
|
||||||
|
|
||||||
EPOLLIN = 0x1
|
EFD_NONBLOCK = 0x800
|
||||||
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 = 0x800
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type EpollEvent struct {
|
type EpollEvent struct {
|
||||||
|
|
|
||||||
|
|
@ -12,17 +12,7 @@ const (
|
||||||
SYS_EPOLL_PWAIT2 = 441
|
SYS_EPOLL_PWAIT2 = 441
|
||||||
SYS_EVENTFD2 = 19
|
SYS_EVENTFD2 = 19
|
||||||
|
|
||||||
EPOLLIN = 0x1
|
EFD_NONBLOCK = 0x800
|
||||||
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 = 0x800
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type EpollEvent struct {
|
type EpollEvent struct {
|
||||||
|
|
|
||||||
|
|
@ -12,17 +12,7 @@ const (
|
||||||
SYS_EPOLL_PWAIT2 = 441
|
SYS_EPOLL_PWAIT2 = 441
|
||||||
SYS_EVENTFD2 = 323
|
SYS_EVENTFD2 = 323
|
||||||
|
|
||||||
EPOLLIN = 0x1
|
EFD_NONBLOCK = 0x800
|
||||||
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 = 0x800
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type EpollEvent struct {
|
type EpollEvent struct {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue