registry/vendor/github.com/bugsnag/panicwrap/dup2.go

12 lines
179 B
Go
Raw Permalink Normal View History

// +build darwin dragonfly freebsd linux,!arm64 netbsd openbsd
package panicwrap
import (
"syscall"
)
func dup2(oldfd, newfd int) error {
return syscall.Dup2(oldfd, newfd)
}