distribution/vendor/github.com/bugsnag/panicwrap/dup3.go

12 lines
141 B
Go
Raw Normal View History

// +build linux,arm64
package panicwrap
import (
"syscall"
)
func dup2(oldfd, newfd int) error {
return syscall.Dup3(oldfd, newfd, 0)
}