forked from TrueCloudLab/distribution
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)
|
||
|
}
|