Imports #
"unsafe"
"unsafe"
const EFD_CLOEXEC = 0x80000
const EFD_NONBLOCK = 0x80
const EFD_NONBLOCK = 0x800
const EFD_NONBLOCK = 0x80
const EFD_NONBLOCK = 0x800
const EFD_NONBLOCK = 0x800
const EFD_NONBLOCK = 0x800
const EFD_NONBLOCK = 0x800
const EFD_NONBLOCK = 0x800
const EFD_NONBLOCK = 0x800
const EFD_NONBLOCK = 0x800
const EPOLLERR = 0x8
const EPOLLET = 0x80000000
const EPOLLHUP = 0x10
const EPOLLIN = 0x1
const EPOLLOUT = 0x4
const EPOLLRDHUP = 0x2000
const EPOLL_CLOEXEC = 0x80000
const EPOLL_CTL_ADD = 0x1
const EPOLL_CTL_DEL = 0x2
const EPOLL_CTL_MOD = 0x3
const SYS_EPOLL_CREATE1 = 357
const SYS_EPOLL_CREATE1 = 20
const SYS_EPOLL_CREATE1 = 5285
const SYS_EPOLL_CREATE1 = 4326
const SYS_EPOLL_CREATE1 = 315
const SYS_EPOLL_CREATE1 = 327
const SYS_EPOLL_CREATE1 = 291
const SYS_EPOLL_CREATE1 = 20
const SYS_EPOLL_CREATE1 = 20
const SYS_EPOLL_CREATE1 = 329
const SYS_EPOLL_CTL = 250
const SYS_EPOLL_CTL = 255
const SYS_EPOLL_CTL = 5208
const SYS_EPOLL_CTL = 4249
const SYS_EPOLL_CTL = 237
const SYS_EPOLL_CTL = 21
const SYS_EPOLL_CTL = 21
const SYS_EPOLL_CTL = 233
const SYS_EPOLL_CTL = 251
const SYS_EPOLL_CTL = 21
const SYS_EPOLL_PWAIT = 346
const SYS_EPOLL_PWAIT = 22
const SYS_EPOLL_PWAIT = 303
const SYS_EPOLL_PWAIT = 22
const SYS_EPOLL_PWAIT = 319
const SYS_EPOLL_PWAIT = 281
const SYS_EPOLL_PWAIT = 22
const SYS_EPOLL_PWAIT = 5272
const SYS_EPOLL_PWAIT = 312
const SYS_EPOLL_PWAIT = 4313
const SYS_EPOLL_PWAIT2 = 441
const SYS_EPOLL_PWAIT2 = 441
const SYS_EPOLL_PWAIT2 = 441
const SYS_EPOLL_PWAIT2 = 441
const SYS_EPOLL_PWAIT2 = 441
const SYS_EPOLL_PWAIT2 = 441
const SYS_EPOLL_PWAIT2 = 5441
const SYS_EPOLL_PWAIT2 = 441
const SYS_EPOLL_PWAIT2 = 441
const SYS_EPOLL_PWAIT2 = 4441
const SYS_EVENTFD2 = 4325
const SYS_EVENTFD2 = 314
const SYS_EVENTFD2 = 19
const SYS_EVENTFD2 = 19
const SYS_EVENTFD2 = 328
const SYS_EVENTFD2 = 290
const SYS_EVENTFD2 = 323
const SYS_EVENTFD2 = 19
const SYS_EVENTFD2 = 356
const SYS_EVENTFD2 = 5284
const SYS_FCNTL = 25
const SYS_FCNTL = 5070
const SYS_FCNTL = 72
const SYS_FCNTL = 55
const SYS_FCNTL = 25
const SYS_FCNTL = 55
const SYS_FCNTL = 55
const SYS_FCNTL = 4055
const SYS_FCNTL = 25
const SYS_FCNTL = 55
const SYS_MPROTECT = 125
const SYS_MPROTECT = 226
const SYS_MPROTECT = 10
const SYS_MPROTECT = 226
const SYS_MPROTECT = 125
const SYS_MPROTECT = 5010
const SYS_MPROTECT = 125
const SYS_MPROTECT = 226
const SYS_MPROTECT = 125
const SYS_MPROTECT = 4125
var _zero uintptr
type EpollEvent struct {
Events uint32
pad_cgo_0 [4]byte
Data [8]byte
}
type EpollEvent struct {
Events uint32
pad_cgo_0 [4]byte
Data [8]byte
}
type EpollEvent struct {
Events uint32
Data [8]byte
}
type EpollEvent struct {
Events uint32
Data [8]byte
}
type EpollEvent struct {
Events uint32
_pad uint32
Data [8]byte
}
type EpollEvent struct {
Events uint32
pad_cgo_0 [4]byte
Data [8]byte
}
type EpollEvent struct {
Events uint32
pad_cgo_0 [4]byte
Data uint64
}
type EpollEvent struct {
Events uint32
pad_cgo_0 [4]byte
Data [8]byte
}
type EpollEvent struct {
Events uint32
pad_cgo_0 [4]byte
Data [8]byte
}
type EpollEvent struct {
Events uint32
_pad uint32
Data [8]byte
}
func EpollCreate1(flags int32) (fd int32, errno uintptr)
func EpollCtl(epfd int32, op int32, fd int32, event *EpollEvent) (errno uintptr)
func EpollWait(epfd int32, events []EpollEvent, maxev int32, waitms int32) (n int32, errno uintptr)
func Eventfd(initval int32, flags int32) (fd int32, errno uintptr)
Syscall6 calls system call number 'num' with arguments a1-6.
func Syscall6(num uintptr, a1 uintptr, a2 uintptr, a3 uintptr, a4 uintptr, a5 uintptr, a6 uintptr) (r1 uintptr, r2 uintptr, errno uintptr)
Generated with Arrow