syscall_linux_gc.go 514 B

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