summaryrefslogtreecommitdiff
path: root/software/vendor/github.com/creack/goselect/select_linux.go
blob: acd569e9ddf756cf1275a8fa6120b5176b08345a (plain)
1
2
3
4
5
6
7
8
9
10
// +build linux

package goselect

import "syscall"

func sysSelect(n int, r, w, e *FDSet, timeout *syscall.Timeval) error {
	_, err := syscall.Select(n, (*syscall.FdSet)(r), (*syscall.FdSet)(w), (*syscall.FdSet)(e), timeout)
	return err
}