aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/libgo/go/syscall/libcall_solaris_386.go
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/libgo/go/syscall/libcall_solaris_386.go')
-rw-r--r--gcc-4.9/libgo/go/syscall/libcall_solaris_386.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc-4.9/libgo/go/syscall/libcall_solaris_386.go b/gcc-4.9/libgo/go/syscall/libcall_solaris_386.go
new file mode 100644
index 000000000..20eba22a3
--- /dev/null
+++ b/gcc-4.9/libgo/go/syscall/libcall_solaris_386.go
@@ -0,0 +1,12 @@
+// Copyright 2011 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.
+
+package syscall
+
+// 32-bit Solaris 2/x86 needs to use _nuname internally, cf. <sys/utsname.h>.
+//sysnb Uname(buf *Utsname) (err error)
+//_nuname(buf *Utsname) _C_int
+
+//sysnb raw_ptrace(request int, pid int, addr *byte, data *byte) (err Errno)
+//ptrace(request _C_int, pid Pid_t, addr *byte, data *byte) _C_long