mirror of
https://github.com/rclone/rclone.git
synced 2024-12-04 22:34:48 +01:00
12 lines
194 B
Go
12 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)
|
|
}
|