77e69b9cf3
Signed-off-by: Olivier Gambier <olivier@docker.com>
11 lines
179 B
Go
11 lines
179 B
Go
// +build darwin dragonfly freebsd linux,!arm64 netbsd openbsd
|
|
|
|
package panicwrap
|
|
|
|
import (
|
|
"syscall"
|
|
)
|
|
|
|
func dup2(oldfd, newfd int) error {
|
|
return syscall.Dup2(oldfd, newfd)
|
|
}
|