summaryrefslogtreecommitdiff
path: root/vendor/github.com/onsi/ginkgo/internal/remote/syscall_dup_solaris.go
blob: 75ef7fb78e39d3288a58e8f1a2092f28b4c38714 (plain)
1
2
3
4
5
6
7
8
9
// +build solaris

package remote

import "golang.org/x/sys/unix"

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