github.com/mem/u-root@v2.0.1-0.20181004165302-9b18b4636a33+incompatible/cmds/elvish/sys/select_bsd.go (about) 1 // +build darwin dragonfly freebsd netbsd openbsd 2 3 package sys 4 5 import "golang.org/x/sys/unix" 6 7 func Select(nfd int, r *FdSet, w *FdSet, e *FdSet) error { 8 return unix.Select(nfd, r.s(), w.s(), e.s(), nil) 9 }