blob: 0d40f0a541bf4dce2f40f417d6e2f3b813c86b0d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// +build linux,riscv64
package remote
import "syscall"
// linux_riscv64 doesn't have syscall.Dup2 which ginkgo uses, so
// use the nearly identical syscall.Dup3 instead
func syscallDup(oldfd int, newfd int) (err error) {
return syscall.Dup3(oldfd, newfd, 0)
}
|