mirror of
https://github.com/golang/go.git
synced 2025-05-14 03:44:40 +00:00
For #58408 Fixes #60211 Change-Id: I30f5678b46e15121865b19d1c0f82698493fad4e Reviewed-on: https://go-review.googlesource.com/c/go/+/495079 Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com>
16 lines
329 B
Go
16 lines
329 B
Go
// Copyright 2018 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
//go:build js && wasm
|
|
|
|
package unix
|
|
|
|
func IsNonblock(fd int) (nonblocking bool, err error) {
|
|
return false, nil
|
|
}
|
|
|
|
func HasNonblockFlag(flag int) bool {
|
|
return false
|
|
}
|