Source file src/internal/runtime/syscall/defs_linux_arm.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 syscall
     6  
     7  const (
     8  	SYS_FCNTL         = 55
     9  	SYS_MPROTECT      = 125
    10  	SYS_EPOLL_CTL     = 251
    11  	SYS_EPOLL_PWAIT   = 346
    12  	SYS_EPOLL_CREATE1 = 357
    13  	SYS_EPOLL_PWAIT2  = 441
    14  	SYS_EVENTFD2      = 356
    15  
    16  	EFD_NONBLOCK = 0x800
    17  )
    18  
    19  type EpollEvent struct {
    20  	Events uint32
    21  	_pad   uint32
    22  	Data   [8]byte // to match amd64
    23  }
    24  

View as plain text