mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-13 18:07:51 +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)
|
|
}
|