You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
514 B

  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)