aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/syscall/syscall_nonhosted.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/syscall/syscall_nonhosted.go')
-rw-r--r--src/syscall/syscall_nonhosted.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/syscall/syscall_nonhosted.go b/src/syscall/syscall_nonhosted.go
index 4a5585503..3528087f8 100644
--- a/src/syscall/syscall_nonhosted.go
+++ b/src/syscall/syscall_nonhosted.go
@@ -180,6 +180,9 @@ type SysProcAttr struct {
func Getgroups() ([]int, error) { return []int{1}, nil }
func Gettimeofday(tv *Timeval) error { return ENOSYS }
func Kill(pid int, signum Signal) error { return ENOSYS }
+func Pipe2(p []int, flags int) (err error) {
+ return ENOSYS // TODO
+}
func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
return 0, ENOSYS
}