Source file src/runtime/internal/syscall/defs_linux_mipsx.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 && (mips || mipsle)
     6  
     7  package syscall
     8  
     9  const (
    10  	SYS_FCNTL         = 4055
    11  	SYS_EPOLL_CTL     = 4249
    12  	SYS_EPOLL_PWAIT   = 4313
    13  	SYS_EPOLL_CREATE1 = 4326
    14  	SYS_EPOLL_PWAIT2  = 4441
    15  
    16  	EPOLLIN       = 0x1
    17  	EPOLLOUT      = 0x4
    18  	EPOLLERR      = 0x8
    19  	EPOLLHUP      = 0x10
    20  	EPOLLRDHUP    = 0x2000
    21  	EPOLLET       = 0x80000000
    22  	EPOLL_CLOEXEC = 0x80000
    23  	EPOLL_CTL_ADD = 0x1
    24  	EPOLL_CTL_DEL = 0x2
    25  	EPOLL_CTL_MOD = 0x3
    26  )
    27  
    28  type EpollEvent struct {
    29  	Events    uint32
    30  	pad_cgo_0 [4]byte
    31  	Data      uint64
    32  }
    33  

View as plain text