mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-07-07 20:18:45 +00:00
12 lines
132 B
Go
12 lines
132 B
Go
|
//go:build !(linux && arm64)
|
||
|
|
||
|
package utils
|
||
|
|
||
|
import (
|
||
|
"syscall"
|
||
|
)
|
||
|
|
||
|
func Dup(from, to int) error {
|
||
|
return syscall.Dup2(from, to)
|
||
|
}
|