github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/internal/runtime/syscall/syscall_linux.go (about)

     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 provides the syscall primitives required for the runtime.
     6  package syscall
     7  
     8  // Syscall6 calls system call number 'num' with arguments a1-6.
     9  func Syscall6(num, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, errno uintptr)
    10  
    11  func EpollCreate1(flags int32) (fd int32, errno uintptr)
    12  
    13  func EpollWait(epfd int32, events []EpollEvent, maxev, waitms int32) (n int32, errno uintptr)
    14  
    15  func EpollCtl(epfd, op, fd int32, event *EpollEvent) (errno uintptr)
    16  
    17  func Eventfd(initval, flags int32) (fd int32, errno uintptr)