mirror of
https://github.com/distribution/distribution.git
synced 2025-09-08 02:09:39 +00:00
11
vendor/github.com/bugsnag/panicwrap/dup3.go
generated
vendored
Normal file
11
vendor/github.com/bugsnag/panicwrap/dup3.go
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
// +build linux,arm64
|
||||
|
||||
package panicwrap
|
||||
|
||||
import (
|
||||
"syscall"
|
||||
)
|
||||
|
||||
func dup2(oldfd, newfd int) error {
|
||||
return syscall.Dup3(oldfd, newfd, 0)
|
||||
}
|
Reference in New Issue
Block a user