buildtools/gcc/libgo/go/syscall/forkpipe2.go

12 lines
304 B
Go
Raw Normal View History

2022-07-15 14:28:41 +02:00
// 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
2022-07-15 14:33:44 +02:00
2022-07-15 14:28:41 +02:00
package syscall
func forkExecPipe(p []int) error {
return Pipe2(p, O_CLOEXEC)
}