Source file src/internal/runtime/syscall/defs_linux_amd64.go
1 // Copyright 2022 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package syscall 6 7 const ( 8 SYS_MPROTECT = 10 9 SYS_FCNTL = 72 10 SYS_PRCTL = 157 11 SYS_EPOLL_CTL = 233 12 SYS_EPOLL_PWAIT = 281 13 SYS_EPOLL_CREATE1 = 291 14 SYS_EPOLL_PWAIT2 = 441 15 SYS_EVENTFD2 = 290 16 17 EFD_NONBLOCK = 0x800 18 ) 19 20 type EpollEvent struct { 21 Events uint32 22 Data [8]byte // unaligned uintptr 23 } 24