mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-14 02:57:52 +08:00
9865e3c0c8
This fixes #612.
10 lines
208 B
Go
10 lines
208 B
Go
// +build darwin dragonfly freebsd netbsd openbsd
|
|
|
|
package sys
|
|
|
|
import "golang.org/x/sys/unix"
|
|
|
|
func Select(nfd int, r *FdSet, w *FdSet, e *FdSet) error {
|
|
return unix.Select(nfd, r.s(), w.s(), e.s(), nil)
|
|
}
|