mirror of
https://git.zx2c4.com/wireguard-go
synced 2024-11-15 01:05:15 +01:00
fcc601dbf0
This is a temporary measure while we wait for https://go-review.googlesource.com/c/sys/+/352310 to land. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
16 lines
307 B
Go
16 lines
307 B
Go
//go:build !windows && !linux
|
|
// +build !windows,!linux
|
|
|
|
/* SPDX-License-Identifier: MIT
|
|
*
|
|
* Copyright (C) 2017-2021 WireGuard LLC. All Rights Reserved.
|
|
*/
|
|
|
|
package rwcancel
|
|
|
|
import "golang.org/x/sys/unix"
|
|
|
|
func poll(fds []unix.PollFd, timeout int) (n int, err error) {
|
|
return unix.Poll(fds, timeout)
|
|
}
|