gcc/libgo/go/syscall/libcall_hurd.go
Ian Lance Taylor 4321f202f9 syscall: add Hurd support
Loosely based on a patch by Svante Signell.
    
    Reviewed-on: https://go-review.googlesource.com/c/161518

From-SVN: r268603
2019-02-07 03:11:47 +00:00

19 lines
448 B
Go

// Copyright 2014 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.
// GNU/Hurd library calls.
package syscall
// Dummy function
func raw_ptrace(request int, pid int, addr *byte, data *byte) Errno {
return ENOSYS
}
//sys Fstatfs(fd int, buf *Statfs_t) (err error)
//fstatfs(fd _C_int, buf *Statfs_t) _C_int
// For exec_unix.go.
const SYS_EXECVE = 0