forked from TrueCloudLab/distribution
12 lines
141 B
Go
12 lines
141 B
Go
|
// +build linux,arm64
|
||
|
|
||
|
package panicwrap
|
||
|
|
||
|
import (
|
||
|
"syscall"
|
||
|
)
|
||
|
|
||
|
func dup2(oldfd, newfd int) error {
|
||
|
return syscall.Dup3(oldfd, newfd, 0)
|
||
|
}
|