mirror of
https://github.com/rclone/rclone.git
synced 2024-12-27 01:19:12 +01:00
14 lines
189 B
Go
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)
|
||
|
}
|