File: fdset_unsupported.go

package info (click to toggle)
golang-github-creack-goselect 0.1.2-3.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 184 kB
  • sloc: sh: 102; makefile: 3
file content (20 lines) | stat: -rw-r--r-- 425 bytes parent folder | download | duplicates (2)
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() {}