Imports #
"unsafe"
"unsafe"
const EFD_CLOEXEC = 0x80000const EFD_NONBLOCK = 0x80const EFD_NONBLOCK = 0x800const EFD_NONBLOCK = 0x80const EFD_NONBLOCK = 0x800const EFD_NONBLOCK = 0x800const EFD_NONBLOCK = 0x800const EFD_NONBLOCK = 0x800const EFD_NONBLOCK = 0x800const EFD_NONBLOCK = 0x800const EFD_NONBLOCK = 0x800const EPOLLERR = 0x8const EPOLLET = 0x80000000const EPOLLHUP = 0x10const EPOLLIN = 0x1const EPOLLOUT = 0x4const EPOLLRDHUP = 0x2000const EPOLL_CLOEXEC = 0x80000const EPOLL_CTL_ADD = 0x1const EPOLL_CTL_DEL = 0x2const EPOLL_CTL_MOD = 0x3const SYS_EPOLL_CREATE1 = 357const SYS_EPOLL_CREATE1 = 20const SYS_EPOLL_CREATE1 = 5285const SYS_EPOLL_CREATE1 = 4326const SYS_EPOLL_CREATE1 = 315const SYS_EPOLL_CREATE1 = 327const SYS_EPOLL_CREATE1 = 291const SYS_EPOLL_CREATE1 = 20const SYS_EPOLL_CREATE1 = 20const SYS_EPOLL_CREATE1 = 329const SYS_EPOLL_CTL = 250const SYS_EPOLL_CTL = 255const SYS_EPOLL_CTL = 5208const SYS_EPOLL_CTL = 4249const SYS_EPOLL_CTL = 237const SYS_EPOLL_CTL = 21const SYS_EPOLL_CTL = 21const SYS_EPOLL_CTL = 233const SYS_EPOLL_CTL = 251const SYS_EPOLL_CTL = 21const SYS_EPOLL_PWAIT = 346const SYS_EPOLL_PWAIT = 22const SYS_EPOLL_PWAIT = 303const SYS_EPOLL_PWAIT = 22const SYS_EPOLL_PWAIT = 319const SYS_EPOLL_PWAIT = 281const SYS_EPOLL_PWAIT = 22const SYS_EPOLL_PWAIT = 5272const SYS_EPOLL_PWAIT = 312const SYS_EPOLL_PWAIT = 4313const SYS_EPOLL_PWAIT2 = 441const SYS_EPOLL_PWAIT2 = 441const SYS_EPOLL_PWAIT2 = 441const SYS_EPOLL_PWAIT2 = 441const SYS_EPOLL_PWAIT2 = 441const SYS_EPOLL_PWAIT2 = 441const SYS_EPOLL_PWAIT2 = 5441const SYS_EPOLL_PWAIT2 = 441const SYS_EPOLL_PWAIT2 = 441const SYS_EPOLL_PWAIT2 = 4441const SYS_EVENTFD2 = 4325const SYS_EVENTFD2 = 314const SYS_EVENTFD2 = 19const SYS_EVENTFD2 = 19const SYS_EVENTFD2 = 328const SYS_EVENTFD2 = 290const SYS_EVENTFD2 = 323const SYS_EVENTFD2 = 19const SYS_EVENTFD2 = 356const SYS_EVENTFD2 = 5284const SYS_FCNTL = 25const SYS_FCNTL = 5070const SYS_FCNTL = 72const SYS_FCNTL = 55const SYS_FCNTL = 25const SYS_FCNTL = 55const SYS_FCNTL = 55const SYS_FCNTL = 4055const SYS_FCNTL = 25const SYS_FCNTL = 55const SYS_MPROTECT = 125const SYS_MPROTECT = 226const SYS_MPROTECT = 10const SYS_MPROTECT = 226const SYS_MPROTECT = 125const SYS_MPROTECT = 5010const SYS_MPROTECT = 125const SYS_MPROTECT = 226const SYS_MPROTECT = 125const SYS_MPROTECT = 4125var _zero uintptrtype 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