1
mirror of https://github.com/rclone/rclone synced 2025-01-08 10:26:23 +01:00
rclone/vendor/github.com/sevlyar/go-daemon/syscall_dup.go

13 lines
172 B
Go

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