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 && (mips || mipsle) 6 7 package syscall 8 9 const ( 10 SYS_FCNTL = 4055 11 SYS_MPROTECT = 4125 12 SYS_EPOLL_CTL = 4249 13 SYS_EPOLL_PWAIT = 4313 14 SYS_EPOLL_CREATE1 = 4326 15 SYS_EPOLL_PWAIT2 = 4441 16 SYS_EVENTFD2 = 4325 17 18 EFD_NONBLOCK = 0x80 19 ) 20 21 type EpollEvent struct { 22 Events uint32 23 pad_cgo_0 [4]byte 24 Data uint64 25 } 26