summaryrefslogtreecommitdiff
path: root/software/vendor/github.com/creack/goselect/fdset_unsupported.go
blob: cbd8d588023bed8d0ff4c1d87a3968f90e2808ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// +build plan9

package goselect

const FD_SETSIZE = 0

// FDSet wraps syscall.FdSet with convenience methods
type FDSet struct{}

// Set adds the fd to the set
func (fds *FDSet) Set(fd uintptr) {}

// Clear remove the fd from the set
func (fds *FDSet) Clear(fd uintptr) {}

// IsSet check if the given fd is set
func (fds *FDSet) IsSet(fd uintptr) bool { return false }

// Zero empties the Set
func (fds *FDSet) Zero() {}