github.com/nibnait/go-learn@v0.0.0-20220227013611-dfa47ea6d2da/src/pkg/mod/golang.org/x/sys@v0.0.0-20210630005230-0f9fa26af87c/unix/syscall_linux_gc.go (about)

     1  // Copyright 2018 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 && gc
     6  // +build linux,gc
     7  
     8  package unix
     9  
    10  // SyscallNoError may be used instead of Syscall for syscalls that don't fail.
    11  func SyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr)
    12  
    13  // RawSyscallNoError may be used instead of RawSyscall for syscalls that don't
    14  // fail.
    15  func RawSyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr)