diff options
Diffstat (limited to 'src/internal/testpty/pty_none.go')
-rw-r--r-- | src/internal/testpty/pty_none.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/internal/testpty/pty_none.go b/src/internal/testpty/pty_none.go new file mode 100644 index 0000000..4f9e2b7 --- /dev/null +++ b/src/internal/testpty/pty_none.go @@ -0,0 +1,13 @@ +// Copyright 2022 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 !(cgo && (aix || dragonfly || freebsd || (linux && !android) || netbsd || openbsd)) && !darwin + +package testpty + +import "os" + +func open() (pty *os.File, processTTY string, err error) { + return nil, "", ErrNotSupported +} |