blob: 5898e9a52b752ca96ad49200bfab7e6d62b6d6d6 [file] [log] [blame]
Girish Gowdra64503432020-01-07 10:59:10 +05301// Copyright 2016 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
Girish Gowdra390f12f2021-07-01 15:53:49 -07005//go:build (darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris) && gc && !ppc64le && !ppc64
Girish Gowdra64503432020-01-07 10:59:10 +05306// +build darwin dragonfly freebsd linux netbsd openbsd solaris
Girish Gowdra390f12f2021-07-01 15:53:49 -07007// +build gc
8// +build !ppc64le
9// +build !ppc64
Girish Gowdra64503432020-01-07 10:59:10 +053010
11package unix
12
13import "syscall"
14
15func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno)
16func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
17func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno)
18func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)