github.com/shaardie/u-root@v4.0.1-0.20190127173353-f24a1c26aa2e+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 }