diff options
Diffstat (limited to 'rwcancel/select_default.go')
-rw-r--r-- | rwcancel/select_default.go | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/rwcancel/select_default.go b/rwcancel/select_default.go deleted file mode 100644 index 990de83..0000000 --- a/rwcancel/select_default.go +++ /dev/null @@ -1,15 +0,0 @@ -// +build !linux,!windows - -/* SPDX-License-Identifier: MIT - * - * Copyright (C) 2017-2021 WireGuard LLC. All Rights Reserved. - */ - -package rwcancel - -import "golang.org/x/sys/unix" - -func unixSelect(nfd int, r *unix.FdSet, w *unix.FdSet, e *unix.FdSet, timeout *unix.Timeval) error { - _, err := unix.Select(nfd, r, w, e, timeout) - return err -} |