Source file src/internal/runtime/syscall/defs_linux_mips64x.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 && (mips64 || mips64le)
     6  
     7  package syscall
     8  
     9  const (
    10  	SYS_CLOSE         = 5003
    11  	SYS_MPROTECT      = 5010
    12  	SYS_FCNTL         = 5070
    13  	SYS_PRCTL         = 5153
    14  	SYS_EPOLL_CTL     = 5208
    15  	SYS_EPOLL_PWAIT   = 5272
    16  	SYS_EPOLL_CREATE1 = 5285
    17  	SYS_EPOLL_PWAIT2  = 5441
    18  	SYS_EVENTFD2      = 5284
    19  	SYS_OPENAT        = 5247
    20  	SYS_PREAD64       = 5016
    21  	SYS_READ          = 5000
    22  
    23  	EFD_NONBLOCK = 0x80
    24  
    25  	O_LARGEFILE = 0x0
    26  )
    27  
    28  type EpollEvent struct {
    29  	Events    uint32
    30  	pad_cgo_0 [4]byte
    31  	Data      [8]byte // unaligned uintptr
    32  }
    33  

View as plain text