Source file src/internal/runtime/syscall/defs_linux_ppc64x.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 //go:build linux && (ppc64 || ppc64le) 6 7 package syscall 8 9 const ( 10 SYS_FCNTL = 55 11 SYS_MPROTECT = 125 12 SYS_PRCTL = 171 13 SYS_EPOLL_CTL = 237 14 SYS_EPOLL_PWAIT = 303 15 SYS_EPOLL_CREATE1 = 315 16 SYS_EPOLL_PWAIT2 = 441 17 SYS_EVENTFD2 = 314 18 19 EFD_NONBLOCK = 0x800 20 ) 21 22 type EpollEvent struct { 23 Events uint32 24 pad_cgo_0 [4]byte 25 Data [8]byte // unaligned uintptr 26 } 27