mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-23 17:11:29 +00:00
10 lines
121 B
Go
10 lines
121 B
Go
|
//go:build !windows
|
||
|
|
||
|
package libbox
|
||
|
|
||
|
import "syscall"
|
||
|
|
||
|
func dup(fd int) (nfd int, err error) {
|
||
|
return syscall.Dup(fd)
|
||
|
}
|