77e69b9cf3
Signed-off-by: Olivier Gambier <olivier@docker.com>
12 lines
179 B
Go
12 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)
|
|
}
|