mirror of
https://github.com/rclone/rclone.git
synced 2024-11-29 20:04:52 +01:00
13 lines
172 B
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)
|
|
}
|