libgo/go/syscall/libcall_hurd.go
raw| 1 | // Copyright 2014 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 | // GNU/Hurd library calls. |
| 6 | |
| 7 | package syscall |
| 8 | |
| 9 | // Dummy function |
| 10 | func raw_ptrace(request int, pid int, addr uintptr, data uintptr) Errno { |
| 11 | return ENOSYS |
| 12 | } |
| 13 | |
| 14 | //sys Fstatfs(fd int, buf *Statfs_t) (err error) |
| 15 | //fstatfs(fd _C_int, buf *Statfs_t) _C_int |
| 16 | |
| 17 | // For exec_unix.go. |
| 18 | const SYS_EXECVE = 0 |