Source file src/internal/runtime/syscall/linux/defs_linux_386.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  package linux
     6  
     7  const (
     8  	SYS_CLOSE         = 6
     9  	SYS_FCNTL         = 55
    10  	SYS_MPROTECT      = 125
    11  	SYS_PRCTL         = 172
    12  	SYS_EPOLL_CTL     = 255
    13  	SYS_EPOLL_PWAIT   = 319
    14  	SYS_EPOLL_CREATE1 = 329
    15  	SYS_EPOLL_PWAIT2  = 441
    16  	SYS_EVENTFD2      = 328
    17  	SYS_OPENAT        = 295
    18  	SYS_PREAD64       = 180
    19  	SYS_READ          = 3
    20  
    21  	EFD_NONBLOCK = 0x800
    22  
    23  	O_LARGEFILE = 0x8000
    24  )
    25  
    26  type EpollEvent struct {
    27  	Events uint32
    28  	Data   [8]byte // to match amd64
    29  }
    30  

View as plain text