summaryrefslogtreecommitdiffstats
path: root/src/syscall/forkpipe2.go
blob: e57240c156157a033e4211157049c467c17b84b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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 || netbsd || openbsd
// +build dragonfly freebsd netbsd openbsd

package syscall

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