Debian Codegraph @

libgo/go/syscall/syscall_funcs_stubs.go

raw
1 // Copyright 2010 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
5 //go:build aix || hurd || rtems
6 // +build aix hurd rtems
7
8 // These are stubs.
9
10 package syscall
11
12 func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno) {
13 z := -1
14 return uintptr(z), 0, ENOSYS
15 }
16
17 func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno) {
18 z := -1
19 return uintptr(z), 0, ENOSYS
20 }
21
22 func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno) {
23 z := -1
24 return uintptr(z), 0, ENOSYS
25 }
26
27 func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno) {
28 z := -1
29 return uintptr(z), 0, ENOSYS
30 }