mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-05 03:17:50 +08:00
1d1b04eadb
It is also built on other BSD systems
10 lines
233 B
Go
10 lines
233 B
Go
// +build darwin dragonfly freebsd netbsd openbsd
|
|
|
|
package sys
|
|
|
|
import "syscall"
|
|
|
|
func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *syscall.Timeval) (err error) {
|
|
return syscall.Select(nfd, r.s(), w.s(), e.s(), timeout)
|
|
}
|