summaryrefslogtreecommitdiff
path: root/vendor/github.com/onsi/ginkgo/internal/remote/syscall_dup_unix.go
blob: 981aa74664c5a35ae3ead17eae884d7d50d4491b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// +build !linux !arm64
// +build !linux !riscv64
// +build !windows
// +build !solaris

package remote

import "syscall"

func syscallDup(oldfd int, newfd int) (err error) {
	return syscall.Dup2(oldfd, newfd)
}