1
mirror of https://github.com/rclone/rclone synced 2025-03-29 13:39:14 +01:00
2019-06-27 13:52:32 +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)
}