rclone/vendor/github.com/sevlyar/go-daemon/syscall_dup.go
2019-06-27 13:52:32 +01:00

11 lines
194 B
Go

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