11 lines
194 B
Go
11 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)
|
|
}
|