Some checks failed
Release CLI / Pre-release build (push) Has been cancelled
Release CLI / Pre-release test (macos-12) (push) Has been cancelled
Release CLI / Pre-release test (ubuntu-22.04) (push) Has been cancelled
Release CLI / Pre-release test (windows-2022) (push) Has been cancelled
Release CLI / Release (push) Has been cancelled
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com>
13 lines
253 B
Go
13 lines
253 B
Go
//go:build !unix && !linux && !darwin
|
|
|
|
package sysfs
|
|
|
|
import "syscall"
|
|
|
|
const NonBlockingFileIoSupported = false
|
|
|
|
// readFd returns ENOSYS on unsupported platforms.
|
|
func readFd(fd uintptr, buf []byte) (int, syscall.Errno) {
|
|
return -1, syscall.ENOSYS
|
|
}
|