aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/syscall/forkpipe2.go
blob: 01c80481c9b5113e4cc8358fcdff14e797a7f9aa (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2017 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.

//go:build dragonfly || freebsd || hurd || netbsd || openbsd

package syscall

func forkExecPipe(p []int) error {
	return Pipe2(p, O_CLOEXEC)
}