rclone/vendor/github.com/sevlyar/go-daemon/syscall_dup_pre17.go

14 lines
189 B
Go
Raw Normal View History

2019-06-27 13:30:45 +02:00
// +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)
}