Source file src/internal/runtime/syscall/defs_linux.go

     1  // Copyright 2024 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  	EPOLLIN       = 0x1
     9  	EPOLLOUT      = 0x4
    10  	EPOLLERR      = 0x8
    11  	EPOLLHUP      = 0x10
    12  	EPOLLRDHUP    = 0x2000
    13  	EPOLLET       = 0x80000000
    14  	EPOLL_CLOEXEC = 0x80000
    15  	EPOLL_CTL_ADD = 0x1
    16  	EPOLL_CTL_DEL = 0x2
    17  	EPOLL_CTL_MOD = 0x3
    18  	EFD_CLOEXEC   = 0x80000
    19  )
    20  

View as plain text