summaryrefslogtreecommitdiff
path: root/src/pkg/syscall/syscall_unix.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/syscall/syscall_unix.go')
-rw-r--r--src/pkg/syscall/syscall_unix.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pkg/syscall/syscall_unix.go b/src/pkg/syscall/syscall_unix.go
index c547ba5c5..c01eca17a 100644
--- a/src/pkg/syscall/syscall_unix.go
+++ b/src/pkg/syscall/syscall_unix.go
@@ -10,6 +10,10 @@ var (
Stderr = 2
)
+func Syscall(trap, a1, a2, a3 uintptr) (r1, r2, err uintptr)
+func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, err uintptr)
+func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2, err uintptr)
+
func Errstr(errno int) string {
if errno < 0 || errno >= int(len(errors)) {
return "error " + str(errno)