syscall_linux_gc.go 495 B

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