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

14 lines
189 B
Go
Raw Normal View History

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