Source file src/internal/runtime/syscall/linux/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 linux
     8  
     9  const (
    10  	SYS_CLOSE         = 4006
    11  	SYS_FCNTL         = 4055
    12  	SYS_MPROTECT      = 4125
    13  	SYS_PRCTL         = 4192
    14  	SYS_EPOLL_CTL     = 4249
    15  	SYS_EPOLL_PWAIT   = 4313
    16  	SYS_EPOLL_CREATE1 = 4326
    17  	SYS_EPOLL_PWAIT2  = 4441
    18  	SYS_EVENTFD2      = 4325
    19  	SYS_OPENAT        = 4288
    20  	SYS_PREAD64       = 4200
    21  	SYS_READ          = 4003
    22  
    23  	EFD_NONBLOCK = 0x80
    24  
    25  	O_LARGEFILE = 0x2000
    26  )
    27  
    28  type EpollEvent struct {
    29  	Events    uint32
    30  	pad_cgo_0 [4]byte
    31  	Data      uint64
    32  }
    33  

View as plain text