libgo/go/syscall/libcall_solaris_386.go
raw| 1 | // Copyright 2011 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 | package syscall |
| 6 | |
| 7 | // 32-bit Solaris 2/x86 needs to use _nuname internally, cf. <sys/utsname.h>. |
| 8 | //sysnb Uname(buf *Utsname) (err error) |
| 9 | //_nuname(buf *Utsname) _C_int |
| 10 | |
| 11 | //sysnb raw_ptrace(request int, pid int, addr uintptr, data uintptr) (err Errno) |
| 12 | //ptrace(request _C_int, pid Pid_t, addr *byte, data *byte) _C_long |