mirror of
https://github.com/golang/sys.git
synced 2026-02-08 11:46:04 +03:00
s/!gccgo/gc/ in files which use gc-syntax assembly. Change-Id: Iafc006cd60ad0e429cff182a05c790d80c380802 Reviewed-on: https://go-review.googlesource.com/c/sys/+/269717 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Than McIntosh <thanm@google.com>
15 lines
491 B
Go
15 lines
491 B
Go
// Copyright 2018 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// +build linux,gc
|
|
|
|
package unix
|
|
|
|
// SyscallNoError may be used instead of Syscall for syscalls that don't fail.
|
|
func SyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr)
|
|
|
|
// RawSyscallNoError may be used instead of RawSyscall for syscalls that don't
|
|
// fail.
|
|
func RawSyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr)
|