adradius/vendor/github.com/sevlyar/go-daemon/syscall_dup_pre17.go
2020-03-04 09:20:30 +01:00

14 lines
189 B
Go

// +build !linux !arm64
// +build !windows
// +build !go1.7
package daemon
import (
"syscall"
)
func syscallDup(oldfd int, newfd int) (err error) {
return syscall.Dup2(oldfd, newfd)
}